Date: Thursday, February 15, 2018 @ 04:20:41 Author: eschwartz Revision: 294559
upgpkg: mumble 1.2.19-9 Add PGP signatures and HTTPS. Fix build with boost 1.66 Fix unquoted $srcdir/$pkgdir Modified: mumble/trunk/PKGBUILD ----------+ PKGBUILD | 54 +++++++++++++++++++++++++++++++++--------------------- 1 file changed, 33 insertions(+), 21 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-02-15 02:02:19 UTC (rev 294558) +++ PKGBUILD 2018-02-15 04:20:41 UTC (rev 294559) @@ -9,18 +9,30 @@ pkgname=mumble pkgver=1.2.19 -pkgrel=8 +pkgrel=9 arch=('x86_64') pkgdesc="A voice chat application similar to TeamSpeak" license=('BSD') -depends=('qt4' 'speex' 'lsb-release' 'libxi' 'avahi' 'libsndfile' 'protobuf' 'libpulse' 'opus' 'xdg-utils' 'speech-dispatcher' 'libpng' 'freetype2' 'fontconfig' 'libxrender') +depends=('qt4' 'speex' 'lsb-release' 'libxi' 'avahi' 'libsndfile' 'protobuf' 'libpulse' 'opus' + 'xdg-utils' 'speech-dispatcher' 'libpng' 'freetype2' 'fontconfig' 'libxrender') makedepends=('boost' 'mesa') -url="http://mumble.sourceforge.net/" -source=(https://github.com/mumble-voip/mumble/releases/download/${pkgver}/mumble-${pkgver}.tar.gz) -sha512sums=('f91111194a899149b500a94afcf7cc5b9691c7ce8669f07fca2c66adbb3916ddb863bf703d04fb8387133fb75f3c8edb52974d1acf3febfafa1f73da19946de4') +url="https://www.mumble.info/" +source=(https://github.com/mumble-voip/mumble/releases/download/${pkgver}/mumble-${pkgver}.tar.gz{,.sig} + https://github.com/mumble-voip/mumble/commit/ea861fe86743c8402bbad77d8d1dd9de8dce447e.patch) +sha512sums=('f91111194a899149b500a94afcf7cc5b9691c7ce8669f07fca2c66adbb3916ddb863bf703d04fb8387133fb75f3c8edb52974d1acf3febfafa1f73da19946de4' + 'SKIP' + 'fcdaf2a3575e3871fe4003b93364a70a7c7029beb64ba5e24931abbe3898b72791848b5cf78ccf48eee5942a37f696a5134d061c2b8d60b66913abd701758330') +validpgpkeys=('C4666C6767A26017CE68406988048D0D625297A0') # Mumble Automatic Build Infrastructure 2017 <mumble-auto-build-2...@mumble.info> +prepare() { + cd "$srcdir"/$pkgname-$pkgver + + # https://github.com/mumble-voip/mumble/pull/3287 + patch -p1 < ../ea861fe86743c8402bbad77d8d1dd9de8dce447e.patch +} + build() { - cd $srcdir/$pkgname-$pkgver + cd "$srcdir"/$pkgname-$pkgver # Building mumble qmake-qt4 main.pro \ @@ -33,26 +45,26 @@ } package() { - cd $srcdir/$pkgname-$pkgver + cd "$srcdir"/$pkgname-$pkgver # bin stuff - install -m755 -D ./release/mumble $pkgdir/usr/bin/mumble - install -m755 -D ./scripts/mumble-overlay $pkgdir/usr/bin/mumble-overlay + install -m755 -D ./release/mumble "$pkgdir"/usr/bin/mumble + install -m755 -D ./scripts/mumble-overlay "$pkgdir"/usr/bin/mumble-overlay # lib stuff - install -m755 -D ./release/libmumble.so.$pkgver $pkgdir/usr/lib/mumble/libmumble.so.$pkgver - ln -s libmumble.so.$pkgver $pkgdir/usr/lib/mumble/libmumble.so - ln -s libmumble.so.$pkgver $pkgdir/usr/lib/mumble/libmumble.so.1 - ln -s libmumble.so.$pkgver $pkgdir/usr/lib/mumble/libmumble.so.1.2 - install -m755 -D ./release/plugins/liblink.so $pkgdir/usr/lib/mumble/liblink.so - install -m755 -D ./release/plugins/libmanual.so $pkgdir/usr/lib/mumble/libmanual.so - install -m755 -D ./release/libcelt* $pkgdir/usr/lib/mumble/ + install -m755 -D ./release/libmumble.so.$pkgver "$pkgdir"/usr/lib/mumble/libmumble.so.$pkgver + ln -s libmumble.so.$pkgver "$pkgdir"/usr/lib/mumble/libmumble.so + ln -s libmumble.so.$pkgver "$pkgdir"/usr/lib/mumble/libmumble.so.1 + ln -s libmumble.so.$pkgver "$pkgdir"/usr/lib/mumble/libmumble.so.1.2 + install -m755 -D ./release/plugins/liblink.so "$pkgdir"/usr/lib/mumble/liblink.so + install -m755 -D ./release/plugins/libmanual.so "$pkgdir"/usr/lib/mumble/libmanual.so + install -m755 -D ./release/libcelt* "$pkgdir"/usr/lib/mumble/ # other stuff - install -m644 -D ./scripts/mumble.desktop $pkgdir/usr/share/applications/mumble.desktop - install -m755 -d $pkgdir/usr/share/man/man1 - install -m644 -D ./man/mum* $pkgdir/usr/share/man/man1/ - install -m644 -D ./icons/mumble.svg $pkgdir/usr/share/icons/hicolor/scalable/apps/mumble.svg - install -m644 -D ./LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE + install -m644 -D ./scripts/mumble.desktop "$pkgdir"/usr/share/applications/mumble.desktop + install -m755 -d "$pkgdir"/usr/share/man/man1 + install -m644 -D ./man/mum* "$pkgdir"/usr/share/man/man1/ + install -m644 -D ./icons/mumble.svg "$pkgdir"/usr/share/icons/hicolor/scalable/apps/mumble.svg + install -m644 -D ./LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } # vim: sw=2:ts=2 et: