From 7e5566a0180fa528cd70be8abbd99fa463d56ed0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aure=C3=A9ien=20DESBRI=C3=88RES?= Date: Sat, 5 Nov 2016 08:27:15 +0100 Subject: corrections to make it buildable! --- PKGBUILD | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 20666ee..1cc9c28 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,8 @@ # Maintainer (Parabola) : Aurélien DESBRIÈRES -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 } -- cgit v1.2.2