From 4f0ff595b4f18a10c762980a74fb34973b0502bc Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 28 Dec 2019 06:22:58 -0600 Subject: user/[random libraries]: fix syntax, modernise --- user/speexdsp/APKBUILD | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'user/speexdsp') diff --git a/user/speexdsp/APKBUILD b/user/speexdsp/APKBUILD index b6a45a1f9..9394edc7a 100644 --- a/user/speexdsp/APKBUILD +++ b/user/speexdsp/APKBUILD @@ -14,8 +14,12 @@ replaces="libspeex" source="https://downloads.xiph.org/releases/speex/$pkgname-$pkgver.tar.gz" build() { - local _neon - [ "$CARCH" = "aarch64" ] && _neon="--disable-neon" + _arch_flags="" + + case $CARCH in + "aarch64") _arch_flags="--disable-neon" + esac + ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -24,12 +28,11 @@ build() { --mandir=/usr/share/man \ --infodir=/usr/share/info \ --disable-static \ - $_neon + $_arch_flags make } package() { - cd "$builddir" make -j1 DESTDIR="$pkgdir" install } -- cgit v1.2.3-70-g09d2