diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1d8bae9b3106 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +pkgname=fortune-mod-lost +pkgver=1504030049 +pkgrel=1 +_ver=5 +pkgdesc="Fortune quotes from Lost" +arch=('any') +license=('custom:cc-sa-3.0') +url=("http://en.wikiquote.org/wiki/Lost") +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=lost SCRIPTS= +} + +package() +{ + cd "${srcdir}/wikiquote-fortune-collection-${_ver}" + cd quotes/lost + install -dm755 -- "${pkgdir}/usr/share/fortune" + install -m644 -- lost lost.dat "${pkgdir}/usr/share/fortune" +} + |