1 # Maintainer: Otto Allmendinger <otto.allmendinger@googlemail.com>
2 # Contributor: Malte Rabenseifner <malte@zearan.de>
7 pkgdesc="The voice chat application server for Mumble (ICE support)"
9 url="http://mumble.sourceforge.net"
11 depends=('avahi' 'lsb-release' 'protobuf' 'qt>=4.4.0' 'zeroc-ice>=3.3.1-3')
13 conflicts=('murmur' 'murmur-static' 'murmur-git')
14 backup=("etc/murmur.ini"
15 "etc/logrotate.d/murmur"
17 install="murmur.install"
18 source=("http://downloads.sourceforge.net/mumble/mumble-$pkgver.tar.gz"
26 cd ${srcdir}/mumble-$pkgver
28 qmake -recursive main.pro CONFIG+="no-client" || return 1
31 sed -e "1i# vi:ft=cfg" \
32 -e "s|database=|database=/var/lib/murmur/murmur.sqlite|" \
33 -e "s|dbus=session|#dbus=system|" \
34 -e "s|#logfile=murmur.log|logfile=/var/log/murmur/murmur.log|" \
35 -e "s|#pidfile=|pidfile=/var/run/murmur/murmur.pid|" \
36 -e "s|#uname=|uname=murmur|" \
37 -i scripts/murmur.ini || return 1
39 install -dm755 ${pkgdir}/var/lib/murmur
40 install -dm755 ${pkgdir}/var/log/murmur
41 install -dm755 ${pkgdir}/var/run/murmur
42 install -Dm755 release/murmurd ${pkgdir}/usr/sbin/murmurd
43 install -Dm644 scripts/murmur.ini ${pkgdir}/etc/murmur.ini
44 install -Dm755 ${startdir}/murmur.rc.d ${pkgdir}/etc/rc.d/murmur
45 install -Dm644 ${startdir}/murmur.conf.d ${pkgdir}/etc/conf.d/murmur
46 install -Dm644 ${startdir}/murmur.dbus.conf \
47 ${pkgdir}/etc/dbus-1/system.d/murmur.conf
48 install -Dm644 ${startdir}/murmur.logrotate.d \
49 ${pkgdir}/etc/logrotate.d/murmur
50 install -Dm644 README ${pkgdir}/usr/share/doc/murmur/README
51 install -Dm644 man/murmurd.1 ${pkgdir}/usr/share/man/man1/murmurd.1
52 install -Dm644 src/murmur/Murmur.ice ${pkgdir}/usr/share/murmur/Murmur.ice
55 md5sums=('55804e3dfe98b16eeb40abca6c254625'
56 'b99061be67c54bf0bb4a061fd1280281'
57 '11c1cc875e8021739ec2087252cf0533'
58 'eddea4cdbd0bde4b960a67e16b5d5478'
59 'c56726cb267ead68f37f35c28e36e6fa')