diff options
Diffstat (limited to 'testing/fortune')
-rw-r--r-- | testing/fortune/APKBUILD | 29 |
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" |