aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2013-10-20 21:19:37 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2015-06-01 16:03:38 +0200
commitdc393edf0cc649680f3809856476a264d3c77c99 (patch)
tree898e57c0286017cf57dd647e754c30e9075a6410
parent6c9645d28c9d11fbae8da90925f198bf3c757ea2 (diff)
downloadpkgbuilds-dc393edf0cc649680f3809856476a264d3c77c99.tar.xz
Removed unnecesary references to $srcdir
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
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"
}