summaryrefslogtreecommitdiffstats
path: root/murmur/PKGBUILD
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-01-15 15:44:57 +0100
committerFlorian Pritz <bluewind@xssn.at>2010-01-17 11:59:54 +0100
commit64006164bbad9e1a0a383dde8aa86a5316c1a66f (patch)
tree0b02e45d6d1b8fd53c846a8485b84c3992fcb78d /murmur/PKGBUILD
parent2f9f502d10d7ac92f051b40a71b31998c93e2607 (diff)
downloadaur-packages-64006164bbad9e1a0a383dde8aa86a5316c1a66f.tar.gz
aur-packages-64006164bbad9e1a0a383dde8aa86a5316c1a66f.tar.xz
add murmur
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'murmur/PKGBUILD')
-rw-r--r--murmur/PKGBUILD85
1 files changed, 49 insertions, 36 deletions
diff --git a/murmur/PKGBUILD b/murmur/PKGBUILD
index bc5ee00..46ea90c 100644
--- a/murmur/PKGBUILD
+++ b/murmur/PKGBUILD
@@ -1,45 +1,58 @@
-# Contributor: Sebastian.Salich@gmx.de
-# Maintainer: Doc Angelo
+# Maintainer: Otto Allmendinger <otto.allmendinger@googlemail.com>
+# Contributor: Malte Rabenseifner <malte@zearan.de>
pkgname=murmur
-pkgver=1.1.8
-pkgrel=1
-arch=('i686' 'x86_64')
+pkgver=1.2.0
+pkgrel=8
pkgdesc="The voice chat application server for Mumble"
+arch=('i686' 'x86_64')
+url="http://mumble.sourceforge.net"
license=('GPL')
-backup=('etc/murmurd.ini')
-depends=('qt>=4.4.0' 'libcap')
-makedepends=('pkgconfig')
-conflicts=('mumble<=1.1.4' 'mumble-server')
-options=('!libtool')
-url="http://mumble.sourceforge.net/"
-source=("http://downloads.sourceforge.net/mumble/mumble-$pkgver.tar.gz" \
- murmurd \
- murmur.install \
- murmur-config.sh)
-md5sums=('a7da012922d39b87c45d9f481d4b5efb'
- 'e3c7be4cc45ff64a7b9e36605ac24497'
- '5a9f17491006e979037ac148a3881fe2'
- 'ceb7bf98b02ce49837b2ea7640c4b68d')
-install=murmur.install
+depends=('avahi' 'lsb-release' 'protobuf' 'qt>=4.4.0')
+makedepends=('boost')
+conflicts=('murmur-ice' 'murmur-static' 'murmur-git')
+backup=("etc/murmur.ini"
+ "etc/logrotate.d/murmur"
+ "etc/conf.d/murmur" )
+install="murmur.install"
+source=("http://downloads.sourceforge.net/mumble/mumble-$pkgver.tar.gz"
+ "murmur.rc.d"
+ "murmur.conf.d"
+ "murmur.dbus.conf"
+ "murmur.logrotate.d"
+)
+
+md5sums=('25872328c8bbc8282ad7ebdeacc0e8b6'
+ 'b99061be67c54bf0bb4a061fd1280281'
+ '11c1cc875e8021739ec2087252cf0533'
+ 'eddea4cdbd0bde4b960a67e16b5d5478'
+ 'c56726cb267ead68f37f35c28e36e6fa')
build() {
- cd $srcdir/mumble-$pkgver
-
- # Building murmur
- /usr/bin/qmake main.pro "CONFIG+=no-client no-ice" || exit 1
- make || exit 1
+ cd ${srcdir}/mumble-$pkgver
+
+ qmake main.pro CONFIG+="no-client no-ice" || return 1
+ make || return 1
- # create directories and copy files
- install -m755 -D $startdir/murmurd $pkgdir/etc/rc.d/murmurd
- install -m755 -D $startdir/murmur-config.sh $pkgdir/usr/bin/murmur-config.sh
- install -m755 -D ./release/murmurd $pkgdir/usr/sbin/murmurd
- install -m755 -d $pkgdir/usr/share/man/man1
- install -m644 -D ./man/mur* $pkgdir/usr/share/man/man1/
- install -m755 -d $pkgdir/var/lib/murmurd
+ sed -e "1i# vi:ft=cfg" \
+ -e "s|database=|database=/var/lib/murmur/murmur.sqlite|" \
+ -e "s|dbus=session|#dbus=system|" \
+ -e "s|#logfile=murmur.log|logfile=/var/log/murmur/murmur.log|" \
+ -e "s|#pidfile=|pidfile=/var/run/murmur/murmur.pid|" \
+ -e "s|#uname=|uname=murmur|" \
+ -i scripts/murmur.ini || return 1
- # copy and modify murmurd.ini
- sed 's|database=|database=/var/lib/murmurd/murmurd.sqlite|g;s|#logfile=murmur.log|logfile=/var/log/murmurd.log|g' ./scripts/murmur.ini > ./scripts/murmurd.ini
- install -m644 -D ./scripts/murmurd.ini $pkgdir/etc/
- rm ./scripts/murmurd.ini
+ install -dm755 ${pkgdir}/var/lib/murmur
+ install -dm755 ${pkgdir}/var/log/murmur
+ install -dm755 ${pkgdir}/var/run/murmur
+ install -Dm755 release/murmurd ${pkgdir}/usr/sbin/murmurd
+ install -Dm644 scripts/murmur.ini ${pkgdir}/etc/murmur.ini
+ install -Dm755 ${startdir}/murmur.rc.d ${pkgdir}/etc/rc.d/murmur
+ install -Dm644 ${startdir}/murmur.conf.d ${pkgdir}/etc/conf.d/murmur
+ install -Dm644 ${startdir}/murmur.dbus.conf \
+ ${pkgdir}/etc/dbus-1/system.d/murmur.conf
+ install -Dm644 ${startdir}/murmur.logrotate.d \
+ ${pkgdir}/etc/logrotate.d/murmur
+ install -Dm644 README ${pkgdir}/usr/share/doc/murmur/README
+ install -Dm644 man/murmurd.1 ${pkgdir}/usr/share/man/man1/murmurd.1
}