summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSudokamikaze2017-01-03 22:37:41 +0200
committerSudokamikaze2017-01-03 22:37:41 +0200
commit7d60648485dd7bbe183b7a827197745b13643d50 (patch)
tree67cb3fbfc3af9f242aeeef2466d45ce959d7b2fb
parent4eda9660a568fee23cbeacc53d110fa9c130eaef (diff)
downloadaur-7d60648485dd7bbe183b7a827197745b13643d50.tar.gz
Use lib32/alsa-lib folder instead of lib/alsa-lib
-rw-r--r--PKGBUILD16
1 files changed, 6 insertions, 10 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f154f2fcf8a..8d6a649c816 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,7 @@
# Maintainer: Pulshen Sudokamikaze <pulshencode@outlook.com>
pkgname=lib32-alsaequal
+_srcname=alsaequal
pkgver=0.6
pkgrel=16
pkgdesc="A real-time adjustable equalizer plugin for ALSA sound server."
@@ -24,26 +25,21 @@ md5sums=('d2edc7710c72cbf3ab297c414e35ebda'
'212e7c8bf7cb2f83b476894dde58812b')
prepare() {
- cd "$srcdir/${pkgname##*-}"
-
+ cd "$srcdir/${_srcname}"
patch -Np0 -i ../false_error.patch
patch -Np0 -i ../alsaequal.patch
patch -Np1 -i ../fix-lib32-makefile.patch
patch -Np0 -i ../lib32-alsaequal_caps_9.x.patch
-
make clean
}
build() {
- cd "${srcdir}/${pkgname##*-}"
-
+ cd "${srcdir}/${_srcname}"
make
}
package() {
- cd "${srcdir}/${pkgname##*-}"
-
- mkdir -p "$pkgdir"/usr/lib32/alsa-lib/
-
- make DESTDIR="$pkgdir" install
+ cd "${srcdir}/${_srcname}"
+ install -dm755 "$pkgdir"/usr/lib32/alsa-lib
+ make DESTDIR="$pkgdir" install
}