diff --git a/community/mumble/APKBUILD b/community/mumble/APKBUILD
index 452280620d62cd983d6b7b1a08af0718b9e06d64..c4060348959b6d88d9ef1af2c2d6bd6d5271f174 100644
--- a/community/mumble/APKBUILD
+++ b/community/mumble/APKBUILD
@@ -2,9 +2,8 @@
 # Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
 # Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr>
 pkgname=mumble
-pkgver=1.3.0
-_rc=2
-_pkgver=${pkgver}${_rc:+-rc${_rc}}
+pkgver=1.3.0_rc2
+_pkgver=${pkgver/_rc/-rc}
 pkgrel=0
 pkgdesc="Low-latency, high quality voice chat software"
 url="https://wiki.mumble.info/"
@@ -27,6 +26,7 @@ source="https://github.com/mumble-voip/$pkgname/releases/download/$_pkgver/$pkgn
 #   1.2.19-r9:
 #     - CVE-2018-20743
 
+builddir="$srcdir"/$pkgname-${pkgver%_rc*}
 build() {
 	qmake-qt5 -recursive main.pro \
 		CONFIG+="no-speechd no-g15 no-ice bundled-celt no-embed-qt-translations no-bundled-speex no-bundled-opus no-rnnoise" \
@@ -37,16 +37,19 @@ build() {
 
 package() {
 	# Binaries.
+	local _ver=${pkgver%_rc*}
+	local _maj=$( echo "$_ver" | cut -d. -f1)
+	local _min=$( echo "$_ver" | cut -d. -f2)
 	install -Dm755 ./release/mumble \
 		"$pkgdir"/usr/bin/mumble
 	install -Dm755 ./scripts/mumble-overlay \
 		"$pkgdir"/usr/bin/mumble-overlay
 
 	# Libraries.
-	install -Dm755 ./release/libmumble.so.$pkgver \
-		"$pkgdir"/usr/lib/mumble/libmumble.so.$pkgver
-	for lib in libmumble.so libmumble.so.1 libmumble.so.1.2; do
-		ln -s libmumble.so.$pkgver \
+	install -Dm755 ./release/libmumble.so.$_ver \
+		"$pkgdir"/usr/lib/mumble/libmumble.so.$_ver
+	for lib in libmumble.so libmumble.so.$_maj libmumble.so.$_maj.$_min; do
+		ln -s libmumble.so.$_ver \
 			"$pkgdir"/usr/lib/mumble/$lib
 	done
 	install -Dm755 ./release/plugins/liblink.so \