PKGBUILDs/aur/umurmur/PKGBUILD

37 lines
1.2 KiB
Bash
Raw Normal View History

2011-06-09 22:00:44 +00:00
# Contributor : xav <xav at ethertricks dot net>
# ALARM: Mike Brown <mbrown@archlinuxarm.org>
# - systemd service file addition
2011-06-09 22:00:44 +00:00
pkgname=umurmur
2012-05-30 20:47:53 +00:00
pkgver=0.2.10
pkgrel=3
2011-06-09 22:00:44 +00:00
pkgdesc="A minimalistic Mumble server"
arch=('i686' 'x86_64')
url="http://code.google.com/p/umurmur/"
license=('GPL')
depends=('libconfig' 'protobuf-c')
2011-06-09 22:00:44 +00:00
source=(http://umurmur.googlecode.com/files/${pkgname}-${pkgver}.tar.gz \
umurmur.rc.d \
umurmur.conf.d \
umurmur.1 \
umurmur.service)
2012-05-30 20:47:53 +00:00
sha1sums=('5a53b021078dfbdf001c9af9ff207ea84bcf8222'
2011-06-09 22:00:44 +00:00
'c4f91846a6ee16437452c024652d2f5eca0c0c2a'
'21749181b742154a3be984caa5e29ab62410e9cf'
'07e1f5082faced4610ef97af2aacd52f583b9a5f'
'bf8a1fc54b5b68d0db14cdc3d7b76ef8500b1aaf')
2011-06-09 22:00:44 +00:00
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --mandir=/usr/share/man --with-ssl=openssl
2011-06-09 22:00:44 +00:00
make || return 1
make DESTDIR=${pkgdir} install || return 1
install -Dm644 umurmur.conf.example ${pkgdir}/etc/umurmur/umurmur.conf
2012-03-13 00:19:14 +00:00
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
2011-06-09 22:00:44 +00:00
}