summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorVanilla Pudding2022-03-23 03:26:23 -0600
committerVanilla Pudding2022-03-23 03:26:23 -0600
commit396d847e6fdd2e921b9d7677018ddeef84d99301 (patch)
treefd30ac35799e1d7ac832e4cd8f675fb066b20227 /PKGBUILD
parent390f3c1a2b7677b211ae5d4df25aa6cd2b73d317 (diff)
downloadaur-396d847e6fdd2e921b9d7677018ddeef84d99301.tar.gz
Reformat Package to VCS Following5
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8caa3b7af77..2dc1378d527 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%-pkgver%}"
+ cd "${pkgname%-}${pkgver}%"
git describe --tags | sed 's/-/+/g'
}
build() {
- cd "${pkgname%-pkgver%}"
+ cd "${pkgname%-}${pkgver}%"
make CPPFLAGS="$CPPFLAGS" \
CFLAGS="-O3 -mavx2 $CFLAGS" \
LDFLAGS="$LDFLAGS" \
@@ -28,6 +28,6 @@ build() {
}
package() {
- cd "${pkgname%-pkgver%}"
+ cd "${pkgname%-}${pkgver}%"
make PREFIX=/usr DESTDIR="$pkgdir" install
}