PKGBUILDs/aur/umurmur/PKGBUILD

43 lines
1.2 KiB
Bash
Raw Normal View History

2013-06-04 13:22:25 +00:00
# Maintainer: Robert Knauer <robert@privatdemail.net>
2011-06-09 22:00:44 +00:00
# Contributor : xav <xav at ethertricks dot net>
pkgname=umurmur
2013-06-14 17:03:39 +00:00
pkgver=0.2.13
pkgrel=1
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=('custom')
2013-06-04 13:22:25 +00:00
depends=('openssl' 'libconfig' 'protobuf-c')
source=(
"http://${pkgname}.googlecode.com/files/${pkgname}-${pkgver}.tar.gz"
"${pkgname}.service"
)
sha256sums=(
2013-06-14 17:03:39 +00:00
'ac1595fa47ce6bd1e0706dd609293f745d73a59af00a7a04ddc0f9ae243997be'
2013-06-04 13:22:25 +00:00
'86f396a042d02b9f9ed9f23596ed650ae7604d2de3e0f560f1f2fe03167fbbba'
)
install="${pkgname}.install"
backup=(
'etc/umurmur/umurmur.conf'
)
2013-06-14 17:03:39 +00:00
#prepare() {
# cd "${srcdir}/${pkgname}-${pkgver}"
# patch 'src/client.c' "${srcdir}/opus.patch"
#}
2011-06-09 22:00:44 +00:00
build() {
2013-06-04 13:22:25 +00:00
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --mandir=/usr/share/man --with-ssl=openssl
2013-06-04 13:22:25 +00:00
make
}
2011-06-09 22:00:44 +00:00
2013-06-04 13:22:25 +00:00
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR=${pkgdir} install || return 1
install -Dm644 'umurmur.conf.example' "${pkgdir}/etc/umurmur/umurmur.conf"
install -Dm644 "${srcdir}/umurmur.service" "${pkgdir}/usr/lib/systemd/system/umurmur.service"
install -Dm644 'LICENSE' "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
2011-06-09 22:00:44 +00:00
}