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
commit20b8c1ef705f83dacd830be4db37866777981a1f (patch)
tree353c6c016a6726174cf4665e923c6a0f93f0e6bd
parent6d3f0ebe09406e8aeb7970b0ccaf371a2528ee8b (diff)
downloadpkgbuilds-20b8c1ef705f83dacd830be4db37866777981a1f.tar.xz
Removed unnecesary references to $srcdir
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5b42e58..c6df678 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -22,17 +22,17 @@ source=('git://github.com/sampsyo/beets.git')
md5sums=('SKIP')
pkgver() {
- cd "$srcdir"/beets
+ cd beets
printf "%s" "$(git describe --tags --long | sed 's/^v//;s/-/-r/' | tr - .)"
}
build() {
- cd "$srcdir"/beets
+ cd beets
python2 setup.py build
}
package() {
- cd "$srcdir"/beets
+ cd beets
python2 setup.py install --root="$pkgdir" --optimize=1
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"