summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 62ada67c9eb88774ba65a03020377d48d661d062 (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
pkgname=fortune-mod-bunheads
pkgver=1504021515
pkgrel=1
_ver=5
pkgdesc="Fortune quotes from Bunheads"
arch=('any')
license=('custom:cc-sa-3.0')
url="http://en.wikiquote.org/wiki/Bunheads"
depends=('fortune-mod')
makedepends=('fortune-mod' 'make' 'coreutils' 'sed' 'grep' 'wikiquote-fortune>=1.4')
source=("https://github.com/maandree/wikiquote-fortune-collection/archive/${_ver}.tar.gz")
sha256sums=(f25b0e335782fc59bf960e5f09c16ebd0bd38cb9cb174f0338c6ba5f8d3013b5)


build()
{
    cd "${srcdir}/wikiquote-fortune-collection-${_ver}"
    make SHOWS=bunheads SCRIPTS=
}

package()
{
    cd "${srcdir}/wikiquote-fortune-collection-${_ver}"
    cd quotes/bunheads
    install -dm755 -- "${pkgdir}/usr/share/fortune"
    install -m644 -- bunheads bunheads.dat "${pkgdir}/usr/share/fortune"
}