summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ded6d3786e9..fe2ba21dfa4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,12 +16,12 @@ sha512sums=('7c7f515585ed41cd276cd3141037ce21e3ebdb713dc932bcdb33320d9910c734bc8
_pkgaltname=libopenaptx
pkgver() {
- cd "${_pkgaltname%-}${pkgver}"
+ cd "${_pkgaltname%}-${pkgver}"
git describe --tags | sed 's/-/+/g'
}
build() {
- cd "${_pkgaltname%-}${pkgver}"
+ cd "${_pkgaltname%}-${pkgver}"
make CPPFLAGS="$CPPFLAGS" \
CFLAGS="-O3 -mavx2 $CFLAGS" \
LDFLAGS="$LDFLAGS" \
@@ -29,6 +29,6 @@ build() {
}
package() {
- cd "${_pkgaltname%-}${pkgver}"
+ cd "${_pkgaltname%}-${pkgver}"
make PREFIX=/usr DESTDIR="$pkgdir" install
}