aboutsummaryrefslogtreecommitdiffstats
path: root/community/fortune/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/fortune/APKBUILD')
-rw-r--r--community/fortune/APKBUILD14
1 files changed, 3 insertions, 11 deletions
diff --git a/community/fortune/APKBUILD b/community/fortune/APKBUILD
index ded83b4966..94f139f16b 100644
--- a/community/fortune/APKBUILD
+++ b/community/fortune/APKBUILD
@@ -5,25 +5,17 @@ pkgver=0.1
pkgrel=0
pkgdesc="Fortune cookie program ported from OpenBSD"
url="https://github.com/ahills/fortune"
-arch="x86 x86_64 ppc64le aarch64"
-license="BSD"
-depends=""
-depends_dev=""
-makedepends="$depends_dev libbsd-dev"
-install=""
+arch="all"
+license="BSD-3-Clause"
+makedepends="libbsd-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::$url/archive/v$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"