Subject: [alpine-aports] [PATCH] testing/fortune: new aport

From: Andrew Hills <[email-masked]>
Date: Thu, 4 Jun 2015 15:56:08 -0400

https://github.com/ahills/fortune
Fortune cookie program ported from OpenBSD
---
 testing/fortune/APKBUILD | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 testing/fortune/APKBUILD

diff --git a/testing/fortune/APKBUILD b/testing/fortune/APKBUILD
new file mode 100644
index 0000000..ba6b264
--- /dev/null
+++ b/testing/fortune/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Andrew Hills <[email-masked]>
+# Maintainer: Andrew Hills <[email-masked]>
+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>=0.7.0"
+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"
-- 
2.4.2

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---