aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
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"
}