mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
removed community/umurmur
This commit is contained in:
parent
7aedd71f04
commit
e6680adb0e
3 changed files with 0 additions and 72 deletions
|
@ -1,44 +0,0 @@
|
|||
# Maintainer: Robert Knauer <robert@privatdemail.net>
|
||||
# Contributor : xav <xav at ethertricks dot net>
|
||||
|
||||
# Remove when bumped upstream
|
||||
|
||||
pkgname=umurmur
|
||||
pkgver=0.2.13
|
||||
pkgrel=1
|
||||
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"
|
||||
)
|
||||
sha256sums=(
|
||||
'ac1595fa47ce6bd1e0706dd609293f745d73a59af00a7a04ddc0f9ae243997be'
|
||||
'86f396a042d02b9f9ed9f23596ed650ae7604d2de3e0f560f1f2fe03167fbbba'
|
||||
)
|
||||
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"
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
post_install() {
|
||||
getent group umurmur > /dev/null || groupadd -r umurmur 1>/dev/null
|
||||
getent passwd umurmur > /dev/null || useradd -r -M -g umurmur -s /bin/false umurmur 1>/dev/null
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
getent passwd umurmur > /dev/null && userdel umurmur 1>/dev/null
|
||||
getent group umurmur > /dev/null && groupdel umurmur 1>/dev/null
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
[Unit]
|
||||
Description=A minimalistic Mumble server
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=umurmur
|
||||
Group=umurmur
|
||||
PIDFile=/run/umurmurd.pid
|
||||
ExecStartPre=/usr/bin/umurmurd -t -c /etc/umurmur/umurmur.conf
|
||||
ExecStart=/usr/bin/umurmurd -d -r -p /run/umurmurd.pid -c /etc/umurmur/umurmur.conf
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in a new issue