aboutsummaryrefslogblamecommitdiffstats
path: root/non-free/vlmcsd/APKBUILD
blob: 0449c3b5f261a3a7581aa170e5273e296fe220eb (plain) (tree)
1
2
3
4


                                                     
           









































                                                                                           
                                                                                                                                                                   
                                                                                                                                              
                                                                                                                                               
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=vlmcsd
pkgver=1111
pkgrel=0
pkgdesc="KMS Emulator in C"
url="http://forums.mydigitallife.info/threads/50234"
arch="all"
license="other"
depends=""
depends_dev=""
makedepends="$depends_dev"
install="$pkgname.pre-install"
subpackages="$pkgname-doc"
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() {
	cd "$builddir"
	make || return 1
}

package() {
	cd "$builddir"
	install -Dm 755 bin/vlmcsd \
		"$pkgdir"/usr/bin/vlmcsd || return 1
	install -Dm 755 bin/vlmcs \
		"$pkgdir"/usr/bin/vlmcs || return 1
	install -Dm 644 etc/vlmcsd.ini \
		"$pkgdir"/etc/vlmcsd/vlmcsd.ini || return 1
	install -Dm 644 etc/vlmcsd.kmd \
		"$pkgdir"/etc/vlmcsd/vlmcsd.kmd || return 1
	install -Dm 644 man/vlmcs.1 \
		"$pkgdir"/usr/share/man/man1/vlmcs.1 || return 1
	install -Dm 644 man/vlmcsd.7 \
		"$pkgdir"/usr/share/man/man7/vlmcsd.7 || return 1
	install -Dm 644 man/vlmcsd.8 \
		"$pkgdir"/usr/share/man/man8/vlmcsd.8 || return 1
	install -Dm 644 man/vlmcsd.ini.5 \
		"$pkgdir"/usr/share/man/man5/vlmcsd.ini.5 || return 1
	install -Dm 755 "$srcdir"/vlmcsd.initd \
		"$pkgdir"/etc/init.d/vlmcsd || return 1
}

sha512sums="605d960b9cebb2be5a050a36d8ffb61d0347ff8ef4b3cfc76c9ecbdbf031f55770a426e48e56fd3a7e81a05c256f36f763e361dc806b8e5c6e3f2d8655314faa  vlmcsd-svn1111.tar.gz
167bd698015bd4548e44f428dc838b486695f1f428204cd10224a76374b83877fe50ec9a3a431b1ae94e17682bf098cdd23457b328f753a245eb056760cef770  vlmcsd.initd
70d6e11a46d65ecee7f91b64775eed6df105b2b16f986b3d7f483c1b58a8f21ecfbdb0f43d2f48643a49cf36564f4c7dbd6603f7e19ce5f44ee180c8e5065971  config.patch"