aboutsummaryrefslogtreecommitdiffstats
path: root/testing/geomyidae/APKBUILD
blob: 1c3049026a90b1786120df13b090439be2272ad2 (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
# Contributor: Sascha Paunovic <azarus@posteo.net>
# Maintainer: Sascha Paunovic <azarus@posteo.net>
pkgname=geomyidae
pkgver=0.31
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"
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="7bc3960ee1c6530546287c13e0da5fd5adc63ac17c3f4eda13856b212615ee6fe880b522c4ac31e7d486f86cc89435f91d2b84570249868ab664494962e0218d  geomyidae-v0.31.tgz"