PKGBUILDs/aur/umurmur/PKGBUILD
Kevin Mihelich d89ca0a6cb aur fixes
2012-03-12 19:43:33 -04:00

33 lines
1,022 B
Bash

# Contributor : xav <xav at ethertricks dot net>
plugrel=1
pkgname=umurmur
pkgver=0.2.8
pkgrel=1
pkgdesc="A minimalistic Mumble server"
arch=('i686' 'x86_64')
url="http://code.google.com/p/umurmur/"
license=('GPL')
depends=('openssl' 'libconfig' 'protobuf-c')
source=(http://umurmur.googlecode.com/files/${pkgname}-${pkgver}.tar.gz \
umurmur.rc.d \
umurmur.conf.d \
umurmur.1)
sha1sums=('4e497663d0612efb1b61f61663a8d4c27e90777f'
'c4f91846a6ee16437452c024652d2f5eca0c0c2a'
'21749181b742154a3be984caa5e29ab62410e9cf'
'07e1f5082faced4610ef97af2aacd52f583b9a5f')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --mandir=/usr/share/man --with-ssl=openssl
make || return 1
make DESTDIR=${pkgdir} install || return 1
install -Dm644 umurmur.conf.example ${pkgdir}/etc/umurmur/umurmur.conf
install -Dm755 ${startdir}/umurmur.rc.d ${pkgdir}/etc/rc.d/umurmur
install -Dm644 ${startdir}/umurmur.conf.d ${pkgdir}/etc/conf.d/umurmur
}