mumble: remove obsolete replaces; use vbin/vman.

This commit is contained in:
Juan RP 2015-02-24 08:30:52 +01:00
parent bc6b5a33d6
commit 67cdcd3106

View file

@ -1,14 +1,13 @@
# Template file for 'mumble'
pkgname=mumble
version=1.2.8
revision=3
revision=4
hostmakedepends="pkg-config"
makedepends="
libcap-devel Ice-devel>=3.5 protobuf-devel>=2.6 libXi-devel qt-devel libressl-devel
speex-devel>=1.2rc2_4 libsndfile-devel libX11-devel alsa-lib-devel pulseaudio-devel
avahi-compat-libs-devel MesaLib-devel opus-devel libogg-devel boost-devel"
depends="qt-plugin-sqlite desktop-file-utils hicolor-icon-theme"
replaces="libmumble<=1.2.3"
short_desc="Open source, low-latency, high quality voice chat for gaming"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://mumble.sourceforge.net/"
@ -27,28 +26,25 @@ do_build() {
make release
}
do_install() {
vmkdir usr/bin
vmkdir usr/lib/mumble
vmkdir usr/share/applications
vmkdir usr/share/man/man1
vmkdir usr/share/icons/hicolor/scalable/apps
cp ${wrksrc}/release/mumble ${DESTDIR}/usr/bin
vbin ${wrksrc}/release/murmurd
vman ${wrksrc}/man/murmur{d,-user-wrapper}.1
vbin ${wrksrc}/release/mumble
vman ${wrksrc}/man/mumble.1
cp ${wrksrc}/release/*.so* ${DESTDIR}/usr/lib/mumble
cp ${wrksrc}/release/plugins/* ${DESTDIR}/usr/lib/mumble
cp ${wrksrc}/scripts/mumble.desktop ${DESTDIR}/usr/share/applications
cp ${wrksrc}/man/mumble.1 ${DESTDIR}/usr/share/man/man1
cp ${wrksrc}/icons/mumble.svg ${DESTDIR}/usr/share/icons/hicolor/scalable/apps
vmkdir usr/bin
vmkdir usr/share/man/man1
cp ${wrksrc}/release/murmurd ${DESTDIR}/usr/bin
cp ${wrksrc}/man/murmur{d,-user-wrapper}.1 ${DESTDIR}/usr/share/man/man1
}
murmur_package() {
depends="mumble>=${version}"
depends="mumble-${version}_${revision}"
short_desc+=" - The murmur server (for mumble)"
pkg_install() {
vmove usr/bin/murmurd