diff options
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 29 |
3 files changed, 30 insertions, 14 deletions
@@ -1,13 +1,12 @@ pkgbase = fortune-mod-hitchhiker - pkgdesc = This is a collection of quotes --- fortune cookies --- from Douglas Adams' famous Hitchhikers Guide to the Galaxy. + pkgdesc = Collection of quotes (fortune cookies) from Douglas Adams' famous Hitchhikers Guide to the Galaxy pkgver = 20050611 - pkgrel = 1 - url = http://www.splitbrain.org/projects/fortunes/hg2g + pkgrel = 3 + url = https://www.splitbrain.org/projects/fortunes/hg2g arch = any license = unknown depends = fortune-mod - source = http://www.splitbrain.org/_media/projects/fortunes/fortune-hitchhiker.tgz - sha512sums = a4f4a99c33764e6d4ec823a57f9d2d40168ddf3cb9506e85fb0f6f10b11673abd76d02e9af8a95926ba758a28fbbe895a427b40c36bd31bc43252c4e6dd610b0 + source = https://www.splitbrain.org/_media/projects/fortunes/fortune-hitchhiker.tgz + sha256sums = 1cf64726d274e2d0e48d7dc92716c7401908f476e17f03a3420126025bafcf99 pkgname = fortune-mod-hitchhiker - diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..032beb40c02e --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/*.tgz +/*.pkg.tar* +/pkg/ +/src/ @@ -1,19 +1,32 @@ -# Maintainer: ajs124 < aur AT ajs124 DOT de > -# Contributor : Damir Perisa <damir.perisa@bluewin.ch> +# Maintainer: Tblue <tilman (at) ax86 (dot) net> +# Contributor: ajs124 < aur AT ajs124 DOT de > +# Contributor: Damir Perisa <damir.perisa@bluewin.ch> # Contributor: dale <dale@archlinux.org> # Contributor: bender02 at gmx dot com pkgname=fortune-mod-hitchhiker pkgver=20050611 -pkgrel=1 -pkgdesc="This is a collection of quotes --- fortune cookies --- from Douglas Adams' famous Hitchhikers Guide to the Galaxy." -url="http://www.splitbrain.org/projects/fortunes/hg2g" +pkgrel=3 +pkgdesc="Collection of quotes (fortune cookies) from Douglas Adams' famous Hitchhikers Guide to the Galaxy" +url="https://www.splitbrain.org/projects/fortunes/hg2g" arch=('any') license=('unknown') depends=('fortune-mod') -source=(http://www.splitbrain.org/_media/projects/fortunes/fortune-hitchhiker.tgz) -sha512sums=('a4f4a99c33764e6d4ec823a57f9d2d40168ddf3cb9506e85fb0f6f10b11673abd76d02e9af8a95926ba758a28fbbe895a427b40c36bd31bc43252c4e6dd610b0') +source=(https://www.splitbrain.org/_media/projects/fortunes/fortune-hitchhiker.tgz) + +pkgver() { + date -ur "${srcdir?}/fortune-hitchhiker/hitchhiker" '+%Y%m%d' +} + +build() { + cd "${srcdir?}/fortune-hitchhiker" + + strfile hitchhiker +} package() { - install -Dm 644 "${srcdir}/fortune-hitchhiker/hitchhiker"* "${pkgdir}/usr/share/fortune/" + install -Dm 644 -t "${pkgdir?}/usr/share/fortune" \ + "${srcdir?}/fortune-hitchhiker/hitchhiker"* } + +sha256sums=('1cf64726d274e2d0e48d7dc92716c7401908f476e17f03a3420126025bafcf99') |