aboutsummaryrefslogtreecommitdiffstats
path: root/testing/geomyidae/APKBUILD
blob: 7813ba8d54c7aca8ec88e216623094416b75a91f (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
# Contributor: Sascha Paunovic <azarus@posteo.net>
# Maintainer: Sascha Paunovic <azarus@posteo.net>
pkgname=geomyidae
pkgver=0.32.2
pkgrel=0
pkgdesc="Simple gopherd"
url="gopher://bitreich.org/1/scm/geomyidae"
arch="all"
license="MIT"
subpackages="$pkgname-doc $pkgname-openrc"
source="ftp://bitreich.org/releases/$pkgname/$pkgname-v$pkgver.tgz"
options="!check" # no test suite
builddir="$srcdir/$pkgname-v$pkgver"

build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	make install PREFIX=/usr DESTDIR="$pkgdir"
	install -m755 -D rc.d/Gentoo.init.d \
		"$pkgdir"/etc/init.d/$pkgname
	install -m755 -D rc.d/Gentoo.conf.d \
		"$pkgdir"/etc/conf.d/$pkgname
}

sha512sums="3b0927a16082df862b9efacc2f29fd1b1ca76f7d465426e179d5995a416bc27b518daba422512091304ed5479ff133e3d40f7bf66aedfbd8d99d13710809d519  geomyidae-v0.32.2.tgz"