aboutsummaryrefslogtreecommitdiffstats
path: root/non-free/vlmcsd/APKBUILD
blob: 0602a1e15bdb4037eea4ab2a1a9e182f61b0129c (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
50
51
52
53
54
55
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=vlmcsd
pkgver=1107
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
}

md5sums="861acedcf01f7be53915fd5c03b41de7  vlmcsd-svn1107.tar.gz
087b9bd67ff5903dfac0a13d1c3aff65  vlmcsd.initd
4f60f7e8a84fd4d998e4a371b1aaf787  config.patch"
sha256sums="f99d1c4692be0cd897a31a255af454c2972ca31db4f850e95c5d659068081126  vlmcsd-svn1107.tar.gz
e51b0f645570d24095f92784d0d2b3847e5917bd7c9eddb2f4a8baadba57a267  vlmcsd.initd
2c8006d4ce3269ad8f2f78fd28758c88efb9fe03470a2db5614ff0f03c001249  config.patch"
sha512sums="553d84306a03286bffdc6fc8490bf450e6907ce794bcf2040be05f4bf479fa1a8a0ad29900ab6564b870e99cb9ac5b0c40ff96310238aa72f5edc71247d8d154  vlmcsd-svn1107.tar.gz
f22dc88ff03baad52c7fb3eed88d739dfac5a94373401ea2de76f0bb2b9ec63b3a1c298a79c1842e81f92d20f762ead8698cf5aa7183cc3023f95999cb7fdfdb  vlmcsd.initd
70d6e11a46d65ecee7f91b64775eed6df105b2b16f986b3d7f483c1b58a8f21ecfbdb0f43d2f48643a49cf36564f4c7dbd6603f7e19ce5f44ee180c8e5065971  config.patch"