blob: 677f229d638f33be050d28c2a835cf224b1502bf (
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
|
# Maintainer: Ammon Smith <ammon.i.smith@gmail.com>
pkgname=fortune-mod-houseofcards
pkgver=1.0.4
pkgrel=1
pkgdesc='Fortune quotes from "House of Cards".'
arch=('any')
license=('unknown')
install="$pkgname.install"
makedepends=('bsd-games') # for rot13
depends=('fortune-mod')
groups=('fortune-mods')
_name='houseofcards'
source=("$_name.txt")
sha256sums=('191049e11b0dad126b45b193e679d93adec33810ff537b3cfbf050cb899a04db')
build() {
cd "$srcdir"
rot13 < "$_name.txt" > "$_name"
strfile -x "$_name" "$_name.dat"
}
package() {
install -D -m644 "$srcdir/$_name" "$pkgdir/usr/share/fortune/$_name"
install -D -m644 "$srcdir/$_name.dat" "$pkgdir/usr/share/fortune/$_name.dat"
}
|