aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorAndrew Hills <ahills@ednos.net>2015-06-04 15:56:08 -0400
committerWilliam Pitcock <nenolod@dereferenced.org>2015-06-06 11:39:33 -0500
commitb0ac98ed1cabfb4add39d1ee184e25e34e872e93 (patch)
tree9c2acfa5384c83ed5cf652663025f5bae0ce9763 /testing
parent898409ac5c45250f16a74813f791c717c328d260 (diff)
downloadaports-b0ac98ed1cabfb4add39d1ee184e25e34e872e93.tar.bz2
aports-b0ac98ed1cabfb4add39d1ee184e25e34e872e93.tar.xz
testing/fortune: new aport
https://github.com/ahills/fortune Fortune cookie program ported from OpenBSD
Diffstat (limited to 'testing')
-rw-r--r--testing/fortune/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/fortune/APKBUILD b/testing/fortune/APKBUILD
new file mode 100644
index 0000000000..b879009c07
--- /dev/null
+++ b/testing/fortune/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Andrew Hills <ahills@ednos.net>
+# Maintainer: Andrew Hills <ahills@ednos.net>
+pkgname=fortune
+pkgver=0.1
+pkgrel=0
+pkgdesc="Fortune cookie program ported from OpenBSD"
+url="https://github.com/ahills/fortune"
+arch="all"
+license="BSD"
+depends=""
+depends_dev=""
+makedepends="$depends_dev libbsd-dev"
+install=""
+subpackages="$pkgname-doc"
+source="saveas-$url/archive/v$pkgver.tar.gz/$pkgname-$pkgver.tar.gz"
+
+_builddir="$srcdir/$pkgname-$pkgver"
+build() {
+ cd "$_builddir"
+ make PREFIX=/usr
+}
+
+package() {
+ cd "$_builddir"
+ make PREFIX=/usr DESTDIR="$pkgdir" install
+}
+md5sums="a3549f7cb08891ba18776befe2dd24e3 fortune-0.1.tar.gz"
+sha256sums="5d593c8a25388b918e0f54486c6d9f9bbeb7841f825cdcc6da433153a92573a1 fortune-0.1.tar.gz"
+sha512sums="11c883aef8fafea6237fcd1b45fbbb169d6996a253f1def720dd9379c4bfe1bad050789c6e89eb7f1960abde54fe04d85fd13148bd0af8528de630611c0e6e48 fortune-0.1.tar.gz"