summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4d328caeb933ff23660495fb7eb270d88cd8a864 (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
30
31
32
# Maintainer: Tblue <tilman (at) ax86 (dot) net>
# Contributor: ajs124 < aur AT ajs124 DOT de >
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
# Contributor: dale <dale@archlinux.org>
# Contributor: bender02 at gmx dot com

pkgname=fortune-mod-hitchhiker
pkgver=20050611
pkgrel=3
pkgdesc="Collection of quotes (fortune cookies) from Douglas Adams' famous Hitchhikers Guide to the Galaxy"
url="https://www.splitbrain.org/projects/fortunes/hg2g"
arch=('any')
license=('unknown')
depends=('fortune-mod')
source=(https://www.splitbrain.org/_media/projects/fortunes/fortune-hitchhiker.tgz)

pkgver() {
    date -ur "${srcdir?}/fortune-hitchhiker/hitchhiker" '+%Y%m%d'
}

build() {
    cd "${srcdir?}/fortune-hitchhiker"

    strfile hitchhiker
}

package() {
    install -Dm 644 -t "${pkgdir?}/usr/share/fortune" \
        "${srcdir?}/fortune-hitchhiker/hitchhiker"*
}

sha256sums=('1cf64726d274e2d0e48d7dc92716c7401908f476e17f03a3420126025bafcf99')