# Contributor: Carlo Landmeter # Maintainer: pkgname=vlmcsd pkgver=1113 pkgrel=0 pkgdesc="KMS Emulator in C" url="https://forums.mydigitallife.info/threads/50234" arch="all" license="other" options="!check" # No test suite install="$pkgname.pre-install" subpackages="$pkgname-doc $pkgname-openrc" source="vlmcsd-svn$pkgver.tar.gz::https://github.com/Wind4/vlmcsd/archive/svn$pkgver.tar.gz $pkgname.initd config.patch " builddir="$srcdir/vlmcsd-svn$pkgver" build() { make } package() { install -Dm 755 bin/vlmcsd -t "$pkgdir"/usr/bin/ install -Dm 755 bin/vlmcs -t "$pkgdir"/usr/bin/ install -Dm 644 etc/vlmcsd.ini -t "$pkgdir"/etc/vlmcsd/ install -Dm 644 etc/vlmcsd.kmd -t "$pkgdir"/etc/vlmcsd/ for i in vlmcs.1 vlmcsd.7 vlmcsd.8 vlmcsd.ini.5; do install -Dm 644 man/$i \ "$pkgdir"/usr/share/man/man${i##*.}/$i done install -Dm 755 "$srcdir"/vlmcsd.initd "$pkgdir"/etc/init.d/vlmcsd } sha512sums="c6d9aef0bf5192726f8a65a0a88db626219d8cf95ccc4cebbdf77fe59dbb65ab294515fec040d22da9b679df5814c8e182ac71226c4fe715c5e2d01ab0f65b8a vlmcsd-svn1113.tar.gz 167bd698015bd4548e44f428dc838b486695f1f428204cd10224a76374b83877fe50ec9a3a431b1ae94e17682bf098cdd23457b328f753a245eb056760cef770 vlmcsd.initd 70d6e11a46d65ecee7f91b64775eed6df105b2b16f986b3d7f483c1b58a8f21ecfbdb0f43d2f48643a49cf36564f4c7dbd6603f7e19ce5f44ee180c8e5065971 config.patch"