diff options
author | Eric Bailey | 2017-04-04 20:32:58 -0400 |
---|---|---|
committer | Eric Bailey | 2017-04-04 20:32:58 -0400 |
commit | d4335c2eb06cd0b5ee3b40a0bb3a832b5262f59b (patch) | |
tree | 08af52cb706a87b7e47130ebd219fb990c1a54ed | |
parent | 0bc6c33d0b28bcf67d84e177fc45f19b974f4087 (diff) | |
download | aur-d4335c2eb06cd0b5ee3b40a0bb3a832b5262f59b.tar.gz |
Original Upstream URL is dead. Update to pull latest commit from Github as releases are not tagged.
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 22 insertions, 11 deletions
@@ -1,14 +1,16 @@ +# Generated by mksrcinfo v8 +# Wed Apr 5 00:27:25 UTC 2017 pkgbase = toilet pkgdesc = free replacement for the FIGlet utility. - pkgver = 0.3 + pkgver = 0.3.3eb9d58 pkgrel = 1 - url = http://libcaca.zoy.org/wiki/toilet + url = https://github.com/cacalabs/toilet arch = i686 arch = x86_64 license = custom:WTFPL depends = libcaca - source = http://libcaca.zoy.org/files/toilet/toilet-0.3.tar.gz - md5sums = 9b72591cb22a30c42a3184b17cabca6f + source = git://github.com/cacalabs/toilet.git + sha256sums = SKIP pkgname = toilet @@ -1,25 +1,34 @@ -# Maintainer: Johnathan Jenkins <twodopeshaggy@gmail.com> +# Maintainer: Eric Bailey <nerflad@gmail.com> +# Contributor: Johnathan Jenkins <twodopeshaggy@gmail.com> # Contributor: Christian Neukirchen <chneukirchen@gmail.com> # Contributor: bl4ckb1t <bl4ckb1t@gmail.com> pkgname=toilet -pkgver=0.3 +pkgver=0.3.3eb9d58 pkgrel=1 pkgdesc="free replacement for the FIGlet utility." arch=('i686' 'x86_64') -url="http://libcaca.zoy.org/wiki/toilet" +url="https://github.com/cacalabs/toilet" license=('custom:WTFPL') depends=('libcaca') -source=(http://libcaca.zoy.org/files/toilet/$pkgname-$pkgver.tar.gz) -md5sums=('9b72591cb22a30c42a3184b17cabca6f') +source=('git://github.com/cacalabs/toilet.git') +sha256sums=('SKIP') +_upstreamver=0.3 +_gitname=toilet + +pkgver() { + cd "$_gitname" + git log --oneline | awk '{print $1}' | head -n 1 | sed '1s/^/'$_upstreamver'./' +} build() { - cd "$srcdir/$pkgname-$pkgver" + cd "$_gitname" + ./bootstrap ./configure --prefix=/usr make } package() { - cd "$srcdir/$pkgname-$pkgver" + cd "$_gitname" make DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir"/usr/share/licenses/${pkgname}/COPYING } |