aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/geomyidae/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/geomyidae/APKBUILD b/testing/geomyidae/APKBUILD
new file mode 100644
index 0000000000..1c3049026a
--- /dev/null
+++ b/testing/geomyidae/APKBUILD
@@ -0,0 +1,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"