mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
36 lines
1.1 KiB
Bash
36 lines
1.1 KiB
Bash
# Contributor : xav <xav at ethertricks dot net>
|
|
|
|
plugrel=1
|
|
|
|
pkgname=umurmur
|
|
pkgver=0.2.5
|
|
pkgrel=1
|
|
pkgdesc="A minimalistic Mumble server"
|
|
arch=('i686' 'x86_64')
|
|
url="http://code.google.com/p/umurmur/"
|
|
license=('GPL')
|
|
depends=('openssl' 'libconfig')
|
|
source=(http://umurmur.googlecode.com/files/${pkgname}-${pkgver}.tar.gz \
|
|
umurmur.rc.d \
|
|
umurmur.conf.d \
|
|
umurmur.1)
|
|
sha1sums=('43e53eabeebd05261ea71a5ead4fa567b53131a1'
|
|
'76376e94182d607a7b803d73038b5f7bda6745dd'
|
|
'21749181b742154a3be984caa5e29ab62410e9cf'
|
|
'07e1f5082faced4610ef97af2aacd52f583b9a5f')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}/src
|
|
|
|
sed -i 's/^#\( EXTRA_LDFLAGS:=-lcrypto -lssl\)/\1/' Makefile
|
|
unset LDFLAGS
|
|
make || return 1
|
|
|
|
install -Dm755 umurmurd ${pkgdir}/usr/sbin/umurmurd
|
|
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
|
|
install -Dm644 ${startdir}/umurmur.1 ${pkgdir}/usr/share/man/man1/umurmur.1
|
|
|
|
}
|
|
|