blob: c2738d8e0ec953a22e5393789a164b74bf3feae7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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="x86 x86_64"
license="BSD"
depends=""
depends_dev=""
makedepends="$depends_dev libbsd-dev"
install=""
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"
|