From dc393edf0cc649680f3809856476a264d3c77c99 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sun, 20 Oct 2013 21:19:37 +0200 Subject: Removed unnecesary references to $srcdir --- .SRCINFO | 2 +- PKGBUILD | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 1e07d7b..d7c8f0e 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,5 +1,5 @@ # Generated by makepkg 4.2.1 -# Mon Jun 1 15:02:20 UTC 2015 +# Mon Jun 1 15:02:21 UTC 2015 pkgbase = i3pystatus-git pkgdesc = i3status replacement written in python for the i3 window manager pkgver = 3.1.r149.g6a3090b diff --git a/PKGBUILD b/PKGBUILD index 1785862..59ec54a 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -14,11 +14,11 @@ source=('git+https://github.com/enkore/i3pystatus.git') md5sums=('SKIP') pkgver() { - cd "$srcdir"/i3pystatus + cd i3pystatus printf "%s" "$(git describe --always --long | sed 's/^v//;s/-/-r/' | tr - .)" } package() { - cd "$srcdir"/i3pystatus + cd i3pystatus python setup.py install --prefix=/usr --root="$pkgdir" } -- cgit v1.2.3-70-g09d2