summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAshhar Hasan2017-04-12 19:48:33 +0530
committerAshhar Hasan2017-04-12 19:48:33 +0530
commitbd0de9ab72369c1f5f6ec5cf1267ae2df9a16f99 (patch)
tree115e8955fd89f5f5f7c0bdbdbac85c37d927ffab /PKGBUILD
parent28bb4d78bf99e4eaa5f5f2acbb8927c69057bba0 (diff)
downloadaur-bd0de9ab72369c1f5f6ec5cf1267ae2df9a16f99.tar.gz
Update: Use wikiquotes, self hosted tarball
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD27
1 files changed, 12 insertions, 15 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 44d82a3f24c..95da41797e7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,22 +2,19 @@
# Contributor: Daenyth <Daenyth+arch@gmail.com>
pkgname=fortune-mod-firefly
-pkgver=2.1.2
+pkgver=3.0.0
pkgrel=1
pkgdesc="Fortune cookies from Joss Whedon's Firefly series."
-arch=(any)
-license=(unknown)
-depends=(fortune-mod)
-source="firefly::http://pkgs.fedoraproject.org/gitweb/?p=fortune-firefly.git;a=blob_plain;f=firefly;hb=master"
-url="http://www.daughtersoftiresias.org/progs/firefly/"
-md5sums=('0c3203d2afddad9e00189e9e27446b82')
+license=('custom:cc-sa-3.0')
+arch=('any')
+url="https://en.wikiquote.org/wiki/Firefly_(TV_series)"
+depends=('fortune-mod')
+makedepends=('curl')
+source=("https://github.com/hashhar/blobs/raw/master/fortune-mod-firefly.tar.gz")
+sha256sums=('a4bfdc78216dd8187ee001d90430162c7bbbe94bcba7f2575f55d131cb4b3801')
-build() {
- cd $srcdir/
- strfile firefly
-}
-
-package(){
- mkdir -p $pkgdir/usr/share/fortune
- cp $srcdir/firefly* $pkgdir/usr/share/fortune
+package() {
+ cd "${srcdir}/${pkgname}"
+ install -dm755 -- "${pkgdir}/usr/share/fortune"
+ install -m644 -- firefly firefly.dat "${pkgdir}/usr/share/fortune"
}