diff options
author | Aureéien DESBRIÈRES <aurelien@hackers.camp> | 2016-11-05 08:27:15 +0100 |
---|---|---|
committer | Aureéien DESBRIÈRES <aurelien@hackers.camp> | 2016-11-05 08:27:15 +0100 |
commit | 7e5566a0180fa528cd70be8abbd99fa463d56ed0 (patch) | |
tree | a03703e5a7d8bd8fe75cefe265e409c6436c4ebd | |
parent | 3d2ddd2b505c16b888e199cbff88ef6ce174da83 (diff) |
corrections to make it buildable!
-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 } |