aur/vlmcsd/PKGBUILD
2017-12-29 10:36:41 +01:00

25 lines
877 B
Bash

pkgname=vlmcsd
pkgver=svn1111
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")
sha256sums=('ee9ecb67c3f69896b050ffcceda84ba90c084ee5d367d8761491942520e599b0'
'a045c1af8cff956117feaf7b4702b4167f27c103f94dd71090a2ef566cd7080f')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
make -f GNUmakefile VLMCSD_VERSION=${pkgver} CFLAGS="-DINCLUDE_BETAS"
}
package() {
install -Dm644 ${source[1]} "${pkgdir}"/usr/lib/systemd/system/${source[1]}
cd "${srcdir}/${pkgname}-${pkgver}"
install -Dm755 bin/${pkgname} "${pkgdir}"/usr/bin/${pkgname}
install -Dm644 man/vlmcsd.7 "${pkgdir}"/usr/share/man/man7/vlmcsd.7
install -Dm644 man/vlmcsd.8 "${pkgdir}"/usr/share/man/man8/vlmcsd.8
}