aur/vlmcsd/PKGBUILD

27 lines
1002 B
Bash
Raw Normal View History

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'
'f0a462cc15f1d9afa18a92a6434d0b0ed68349ba69f878d0a8c84840b5fd4f7f')
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
}