2017-12-29 10:36:41 +01:00
|
|
|
pkgname=vlmcsd
|
2020-05-08 10:35:20 +02:00
|
|
|
pkgver=svn1113
|
2017-12-29 10:36:41 +01:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="KMS Emulator in C"
|
|
|
|
arch=('i686' 'x86_64' 'armv6h')
|
|
|
|
url="http://forums.mydigitallife.info/threads/50234"
|
|
|
|
license=('custom')
|
|
|
|
source=("https://github.com/Wind4/vlmcsd/archive/${pkgver}.tar.gz"
|
|
|
|
"${pkgname}.service")
|
2020-05-08 10:35:20 +02:00
|
|
|
sha256sums=('62f55c48f5de1249c2348ab6b96dabbe7e38899230954b0c8774efb01d9c42cc'
|
2021-02-07 22:42:43 +01:00
|
|
|
'e13a82e4521756f3fd5238422db9dae0cb326e4099d890fe74d1b9b876145497')
|
2017-12-29 10:36:41 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
2020-05-08 10:35:20 +02:00
|
|
|
make -f GNUmakefile VLMCSD_VERSION=${pkgver}
|
2017-12-29 10:36:41 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
install -Dm644 ${source[1]} "${pkgdir}"/usr/lib/systemd/system/${source[1]}
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
install -Dm755 bin/${pkgname} "${pkgdir}"/usr/bin/${pkgname}
|
2020-05-08 10:35:20 +02:00
|
|
|
install -Dm644 etc/${pkgname}.ini "${pkgdir}"/etc/${pkgname}.ini
|
|
|
|
install -Dm644 etc/${pkgname}.kmd "${pkgdir}"/etc/${pkgname}.kmd
|
|
|
|
install -Dm644 man/${pkgname}.7 "${pkgdir}"/usr/share/man/man7/${pkgname}.7
|
|
|
|
install -Dm644 man/${pkgname}.8 "${pkgdir}"/usr/share/man/man8/${pkgname}.8
|
2017-12-29 10:36:41 +01:00
|
|
|
}
|