diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -1,7 +1,8 @@ # Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp> -pkgname=paraboley -pkgver=0.2 +_pkgname=paraboley +pkgname=${_pkgname}-git +pkgver=5 pkgrel=1 pkgdesc="Python script to display system infomation alongside the Parabola GNU / Linux-libre logo." arch=('any') @@ -16,15 +17,16 @@ optdepends=( ) conflicts=() provides=('paraboley') -source="git://projects.parabola.nu/paraboley.git" +source=("git://projects.parabola.nu/paraboley.git") +md5sums=('SKIP') pkgver() { - cd ${pkgname} - git describe --always | sed 's|-|.|g' + cd ${_pkgname} + git rev-list --count HEAD } package() { - cd "$srcdir/$pkgname" + cd "$_pkgname" python setup.py install --root=${pkgdir} install -D -m644 COPYING ${pkgdir}/usr/share/licenses/paraboley/COPYING } |