aboutsummaryrefslogtreecommitdiffstats
path: root/community/mumble/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-07-03 10:34:29 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-07-04 06:59:51 +0000
commit738ee3c9be3e7f43b6fed55917ea3b702b13d71a (patch)
tree3ebb2ae58786e9cb9f423ad53be2a4f551db8abe /community/mumble/APKBUILD
parent65077ee51e6fbc25588d47b036f3fd5a85a961ab (diff)
downloadaports-738ee3c9be3e7f43b6fed55917ea3b702b13d71a.tar.bz2
aports-738ee3c9be3e7f43b6fed55917ea3b702b13d71a.tar.xz
community/mumble: fix version string
Diffstat (limited to 'community/mumble/APKBUILD')
-rw-r--r--community/mumble/APKBUILD17
1 files changed, 10 insertions, 7 deletions
diff --git a/community/mumble/APKBUILD b/community/mumble/APKBUILD
index 452280620d..c406034895 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 \