blob: 35ded0b0e1b78c960347bd2ad35640476a78ef99 (
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
|
# 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=2
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)
sha512sums=('a4f4a99c33764e6d4ec823a57f9d2d40168ddf3cb9506e85fb0f6f10b11673abd76d02e9af8a95926ba758a28fbbe895a427b40c36bd31bc43252c4e6dd610b0')
pkgver() {
date -ur "${srcdir?}/fortune-hitchhiker/hitchhiker" '+%Y%m%d'
}
build() {
cd "${srcdir?}/fortune-hitchhiker"
strfile hitchhiker
}
package() {
mkdir -p "${pkgdir}/usr/share/fortune"
install -Dm 644 "${srcdir}/fortune-hitchhiker/hitchhiker"* "${pkgdir}/usr/share/fortune/"
}
|