aboutsummaryrefslogtreecommitdiffstats
path: root/community/mumble/APKBUILD
diff options
context:
space:
mode:
authortcely <tcely@users.noreply.github.com>2019-06-04 16:22:48 -0400
committerNatanael Copa <ncopa@alpinelinux.org>2019-06-05 13:02:38 +0000
commit34c5eaf34c440e4a13c158a3cf98a3163e34e170 (patch)
treea90db5e271214b4292b19351563b149d9b960dfd /community/mumble/APKBUILD
parent34001bbdeb45f402e36725c2b6abb29d2b4d267f (diff)
downloadaports-34c5eaf34c440e4a13c158a3cf98a3163e34e170.tar.gz
aports-34c5eaf34c440e4a13c158a3cf98a3163e34e170.tar.bz2
aports-34c5eaf34c440e4a13c158a3cf98a3163e34e170.tar.xz
community/mumble: construct _pkgver from _rc
- also reverse unneeded changes
Diffstat (limited to 'community/mumble/APKBUILD')
-rw-r--r--community/mumble/APKBUILD20
1 files changed, 11 insertions, 9 deletions
diff --git a/community/mumble/APKBUILD b/community/mumble/APKBUILD
index 0d1ea0585f..0ea4afb074 100644
--- a/community/mumble/APKBUILD
+++ b/community/mumble/APKBUILD
@@ -2,9 +2,9 @@
# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
# Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr>
pkgname=mumble
-pkgver=1.3.0_rc1
-_pkgver=${pkgver/_/-}
-__pkgver=${pkgver/_rc1/}
+pkgver=1.3.0
+_rc=1
+_pkgver=${pkgver}${_rc:+-rc${_rc}}
pkgrel=0
pkgdesc="Low-latency, high quality voice chat software"
url="https://wiki.mumble.info"
@@ -22,7 +22,10 @@ pkggroups="murmur"
subpackages="$pkgname-doc murmur murmur-doc:murmur_doc:noarch"
source="https://github.com/mumble-voip/$pkgname/releases/download/$_pkgver/$pkgname-$_pkgver.tar.gz
murmur.initd"
-builddir="$srcdir/$pkgname-${pkgver/_rc1/}"
+
+# secfixes:
+# 1.2.19-r9:
+# - CVE-2018-20743
build() {
qmake-qt5 -recursive main.pro \
@@ -40,10 +43,10 @@ package() {
"$pkgdir"/usr/bin/mumble-overlay
# Libraries.
- install -Dm755 ./release/libmumble.so.$__pkgver \
- "$pkgdir"/usr/lib/mumble/libmumble.so.$__pkgver
+ 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 \
+ ln -s libmumble.so.$pkgver \
"$pkgdir"/usr/lib/mumble/$lib
done
install -Dm755 ./release/plugins/liblink.so \
@@ -96,10 +99,9 @@ murmur_doc() {
cd "$builddir"
install -Dm644 ./man/murmurd.1 \
"$subpkgdir"/usr/share/man/man1/murmurd.1
- gzip "$subpkgdir"/usr/share/man/man1/murmurd.1
-
install -Dm644 ./LICENSE \
"$subpkgdir"/usr/share/licenses/murmur/LICENSE
+ default_doc
}
sha512sums="e993b18b0ecf620d3a9a89f145c18b9ecde3aaf9b7217e235b7472908c81a365323c8683dd6fc9ed14b108160f8bf5244369c2a9ee57c22595550220d158516c mumble-1.3.0-rc1.tar.gz