summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorVanilla Pudding2022-03-23 03:17:57 -0600
committerVanilla Pudding2022-03-23 03:17:57 -0600
commit390f3c1a2b7677b211ae5d4df25aa6cd2b73d317 (patch)
tree4dc955b16e32c8a30accbf3ce71adce9ec34057d /PKGBUILD
parentb0c2ac7732651bf36207487af8bd60d32eebaf61 (diff)
downloadaur-390f3c1a2b7677b211ae5d4df25aa6cd2b73d317.tar.gz
Reformat Package to VCS Following4
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 154d0cd134a..8caa3b7af77 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,12 +15,12 @@ source=("$pkgver.tar.gz::https://github.com/pali/libopenaptx/archive/$pkgver.tar
sha512sums=('7c7f515585ed41cd276cd3141037ce21e3ebdb713dc932bcdb33320d9910c734bc81e581e2c09b3399b3516c789e5da7128fdab5ab6b5e4f42a86b6ac6d3f28c')
pkgver() {
- cd "${pkgname%-git}"
+ cd "${pkgname%-pkgver%}"
git describe --tags | sed 's/-/+/g'
}
build() {
- cd "${pkgname%-git}"
+ cd "${pkgname%-pkgver%}"
make CPPFLAGS="$CPPFLAGS" \
CFLAGS="-O3 -mavx2 $CFLAGS" \
LDFLAGS="$LDFLAGS" \
@@ -28,6 +28,6 @@ build() {
}
package() {
- cd "${pkgname%-git}"
+ cd "${pkgname%-pkgver%}"
make PREFIX=/usr DESTDIR="$pkgdir" install
}