summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 74a4618f81750a8da2453967ec67e0dc6696e36c (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
# Maintainer: √Čtienne Deparis <etienne@depar.is>
# Creator: TheMagicBanana

pkgname=fortune-mod-kaamelott
pkgver=4
pkgrel=2
url='https://fr.wikiquote.org/wiki/Kaamelott'
pkgdesc="Quotes from the French comedy show Kaamelott."
license=('CCPL')
arch=('any')
depends=('fortune-mod')
makedepends=('coreutils')
source=("kaamelott")
sha1sums=('33fb3d45b8ee9dbc483647bff19f2cddcd443daa')

build() {
  fold -w 80 -s kaamelott > kaamelott.folded || exit 1
  strfile -r kaamelott.folded kaamelott.dat || exit 2
}

package(){
  install -d "$pkgdir/usr/share/fortune/fr"
  install -m644 "$srcdir/kaamelott.folded" "$pkgdir/usr/share/fortune/fr/kaamelott"
  install -m644 "$srcdir/kaamelott.dat" "$pkgdir/usr/share/fortune/fr/kaamelott.dat"
}