aboutsummaryrefslogtreecommitdiffstats
path: root/non-free/vlmcsd/APKBUILD
blob: 9ed2e2c62309d1cd23a117fda86f8acfa0e759e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# 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
7e478abe16d6dca0c404f5c5163520812c94cddec6456ebc51986d967db4fe5e89ffa2a8408fb44448e5184d6ae0bb98dd202ca8b322fe23537a7e91562c1a0f  vlmcsd.initd
70d6e11a46d65ecee7f91b64775eed6df105b2b16f986b3d7f483c1b58a8f21ecfbdb0f43d2f48643a49cf36564f4c7dbd6603f7e19ce5f44ee180c8e5065971  config.patch"