summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 790bebc2eb83b4f0c1f8317552152966a4cdb088 (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-dexter
pkgver=1604040442
pkgrel=1
_ver=5
pkgdesc="Fortune quotes from Dexter"
arch=('any')
license=('custom:cc-sa-3.0')
url="http://en.wikiquote.org/wiki/Dexter"
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=dexter SCRIPTS=
}

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