diff --git a/community/basisu/APKBUILD b/community/basisu/APKBUILD
index 1ade0280fcd13fbd4b03a594bd3a92dc48a0356d..406b6a4b1afbbd4a697d4ba86ae7103d5815fb8f 100644
--- a/community/basisu/APKBUILD
+++ b/community/basisu/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Holger Jaekel <holger.jaekel@gmx.de>
 pkgname=basisu
 pkgver=1.16.4
-pkgrel=0
+pkgrel=1
 pkgdesc="Basis Universal GPU Texture Codec"
 url="https://github.com/BinomialLLC/basis_universal"
 arch="all"
@@ -20,10 +20,10 @@ source="basisu-$pkgver.tar.gz::https://github.com/BinomialLLC/basis_universal/ar
 builddir="$srcdir"/basis_universal-$pkgver
 
 build() {
-	_sse=OFF
-	if [ "$CARCH" = "x86_64" ]; then
-		_sse=ON
-	fi
+	case "$CARCH" in
+	x86*) local sse=ON ;;
+	*) local sse=OFF ;;
+	esac
 
 	if [ "$CBUILD" != "$CHOST" ]; then
 		CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
@@ -33,7 +33,7 @@ build() {
 		-DCMAKE_INSTALL_LIBDIR=lib \
 		-DBUILD_SHARED_LIBS=ON \
 		-DCMAKE_BUILD_TYPE=MinSizeRel \
-		-DSSE=$_sse \
+		-DSSE=$sse \
 		$CMAKE_CROSSOPTS
 	cmake --build build
 }