mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
ab6124589a
- remove leftover files - fix Opus codec (upstream commit 720f08b81dda944f5d0f79bd1cf040244fd09365) - fix the license (it's BSD, not GPL) - add umurmur.conf to backup array
44 lines
1.3 KiB
Bash
44 lines
1.3 KiB
Bash
# Maintainer: Robert Knauer <robert@privatdemail.net>
|
|
# Contributor : xav <xav at ethertricks dot net>
|
|
|
|
pkgname=umurmur
|
|
pkgver=0.2.12
|
|
pkgrel=2
|
|
pkgdesc="A minimalistic Mumble server"
|
|
arch=('i686' 'x86_64')
|
|
url="http://code.google.com/p/umurmur/"
|
|
license=('custom')
|
|
depends=('openssl' 'libconfig' 'protobuf-c')
|
|
source=(
|
|
"http://${pkgname}.googlecode.com/files/${pkgname}-${pkgver}.tar.gz"
|
|
"${pkgname}.service"
|
|
"opus.patch"
|
|
)
|
|
sha256sums=(
|
|
'2c2a0c34defeda59bea437fb99ba1086f94e6156f9236cd3dcc1e198b42ef68f'
|
|
'86f396a042d02b9f9ed9f23596ed650ae7604d2de3e0f560f1f2fe03167fbbba'
|
|
'5d16aa5f8a0abc5d42c9f64c7272b303e0ec4a67166c3253d03916514400d028'
|
|
)
|
|
install="${pkgname}.install"
|
|
backup=(
|
|
'etc/umurmur/umurmur.conf'
|
|
)
|
|
|
|
prepare() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
patch 'src/client.c' "${srcdir}/opus.patch"
|
|
}
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr --mandir=/usr/share/man --with-ssl=openssl
|
|
make
|
|
}
|
|
|
|
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"
|
|
}
|