diff options
author | Doug Newgard | 2013-11-10 14:31:03 -0600 |
---|---|---|
committer | Doug Newgard | 2013-11-10 14:31:03 -0600 |
commit | bedabe6c970c01ec0aa5f0668f1733c200346138 (patch) | |
tree | 915d775c4c9d586695a2f3ee51d66e24a2fd38fd | |
parent | 3988fd6a3d84d17bbada357693d1915da900074d (diff) | |
download | aur-bedabe6c970c01ec0aa5f0668f1733c200346138.tar.gz |
Update to current template
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 17 insertions, 12 deletions
@@ -10,9 +10,8 @@ pkgbase = terminology-git makedepends = git depends = efl-git depends = elementary-git - provides = terminology + provides = terminology=0.3.0.568.bf3e2ab conflicts = terminology - options = !libtool source = git://git.enlightenment.org/apps/terminology.git md5sums = SKIP @@ -3,7 +3,7 @@ pkgname=terminology-git -_pkgname=terminology +_pkgname=${pkgname%-*} pkgver=0.3.0.568.bf3e2ab pkgrel=1 pkgdesc="Terminal emulator for e17, successor of previous eterm" @@ -13,32 +13,38 @@ url="http://www.enlightenment.org/p.php?p=about/terminology" license=('BSD') depends=('efl-git' 'elementary-git') makedepends=('git') -provides=('terminology') -conflicts=('terminology') -options=('!libtool') +provides=("$_pkgname=$pkgver") +conflicts=("$_pkgname") source=("git://git.enlightenment.org/apps/$_pkgname.git") md5sums=('SKIP') pkgver() { cd "$srcdir/$_pkgname" - - echo $(awk -F , '/^AC_INIT/ {print $2}' configure.ac | tr -d '[ ]').$(git rev-list --count HEAD).$(git rev-parse --short HEAD) + + local _ver=$(awk -F , '/^AC_INIT/ {print $2}' configure.ac | tr -d '[ ]') + + printf "$_ver.$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } build() { - cd "$srcdir/$_pkgname" ./autogen.sh --prefix=/usr + make } package(){ cd "$srcdir/$_pkgname" + make DESTDIR="$pkgdir" install -# install license files - install -Dm644 "$srcdir/$_pkgname/COPYING" \ - "$pkgdir/usr/share/licenses/$pkgname/COPYING" +# install text files + install -Dm644 ChangeLog "$pkgdir/usr/share/doc/$_pkgname/ChangeLog" + install -Dm644 NEWS "$pkgdir/usr/share/doc/$_pkgname/NEWS" + install -Dm644 README "$pkgdir/usr/share/doc/$_pkgname/README" +# install license files + install -Dm644 AUTHORS "$pkgdir/usr/share/licenses/$pkgname/AUTHORS" + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" } |