aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"