aur/umurmur to 0.2.10-3 rebuild+systemd

This commit is contained in:
Mike Brown 2013-01-24 17:38:53 -05:00
parent aebf19ffdf
commit 6d9010a63d
2 changed files with 20 additions and 4 deletions

View file

@ -2,10 +2,11 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - use polarssl instead of openssl
# ALARM: Mike Brown <mbrown@archlinuxarm.org>
# - systemd service file addition
pkgname=umurmur
pkgver=0.2.10
pkgrel=2
pkgrel=3
pkgdesc="A minimalistic Mumble server"
arch=('i686' 'x86_64')
url="http://code.google.com/p/umurmur/"
@ -14,11 +15,13 @@ depends=('libconfig' 'protobuf-c' 'polarssl')
source=(http://umurmur.googlecode.com/files/${pkgname}-${pkgver}.tar.gz \
umurmur.rc.d \
umurmur.conf.d \
umurmur.1)
umurmur.1 \
umurmur.service)
sha1sums=('5a53b021078dfbdf001c9af9ff207ea84bcf8222'
'c4f91846a6ee16437452c024652d2f5eca0c0c2a'
'21749181b742154a3be984caa5e29ab62410e9cf'
'07e1f5082faced4610ef97af2aacd52f583b9a5f')
'07e1f5082faced4610ef97af2aacd52f583b9a5f'
'bf8a1fc54b5b68d0db14cdc3d7b76ef8500b1aaf')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
@ -29,5 +32,6 @@ build() {
install -Dm644 umurmur.conf.example ${pkgdir}/etc/umurmur/umurmur.conf
install -Dm755 ${srcdir}/umurmur.rc.d ${pkgdir}/etc/rc.d/umurmur
install -Dm644 ${srcdir}/umurmur.conf.d ${pkgdir}/etc/conf.d/umurmur
install -Dm755 ${srcdir}/umurmur.service ${pkgdir}/usr/lib/systemd/system/umurmur.service
}

View file

@ -0,0 +1,12 @@
[Unit]
Description=Mumble Server
After=network.target
[Service]
PIDFile=/run/umurmur.pid
EnvironmentFile=/etc/conf.d/umurmur
ExecStart=/usr/bin/umurmurd $UMURMUR_ARGS
[Install]
WantedBy=multi-user.target