Swap out biboumi for biboumi-git

This commit is contained in:
moparisthebest
2017-02-02 11:06:32 -05:00
parent d48de2c46d
commit 97fb797b07
5 changed files with 63 additions and 52 deletions

View File

@@ -1,28 +0,0 @@
# Generated by mksrcinfo v8
# Wed Nov 9 17:07:34 UTC 2016
pkgbase = biboumi
pkgdesc = XMPP gateway to IRC
pkgver = 4.0
pkgrel = 1
url = https://biboumi.louiz.org/
install = biboumi.install
arch = i686
arch = x86_64
arch = armv7h
arch = aarch64
license = ZLIB
makedepends = cmake
makedepends = pandoc
depends = expat
depends = libidn
depends = c-ares
depends = botan
depends = litesql-git
backup = etc/biboumi/biboumi.cfg
source = https://git.louiz.org/biboumi/snapshot/biboumi-4.0.tar.xz
source = sysuser.conf
md5sums = 064958f1a8663ad72010e7209dbd5fd1
md5sums = 07c92af3248861ce94d361e98cfb7f5c
pkgname = biboumi

View File

@@ -1,44 +0,0 @@
# Maintainer: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
pkgname=biboumi
pkgver=4.0
pkgrel=1
pkgdesc="XMPP gateway to IRC"
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
url="https://biboumi.louiz.org/"
license=('ZLIB')
depends=('expat' 'libidn' 'c-ares' 'botan' 'litesql-git')
makedepends=('cmake' 'pandoc')
backup=("etc/$pkgname/$pkgname.cfg")
install="$pkgname.install"
source=("https://git.louiz.org/biboumi/snapshot/$pkgname-$pkgver.tar.xz"
'sysuser.conf')
md5sums=('064958f1a8663ad72010e7209dbd5fd1'
'07c92af3248861ce94d361e98cfb7f5c')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
mkdir -p build
}
build() {
cd "$srcdir/$pkgname-$pkgver/build"
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSERVICE_USER=biboumi \
-DSERVICE_GROUP=jabber
make biboumi
}
package() {
cd "$srcdir/$pkgname-$pkgver/build"
make DESTDIR="$pkgdir/" install
cd "$srcdir/$pkgname-$pkgver"
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 doc/biboumi.1.rst "$pkgdir/usr/share/doc/$pkgname/$pkgname.rst"
cd "$srcdir"
install -Dm644 sysuser.conf "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
}

View File

@@ -1,13 +0,0 @@
post_install() {
systemd-sysusers biboumi.conf
install -dm750 -o biboumi -g jabber var/lib/biboumi
install -dm750 -o biboumi -g jabber var/log/biboumi
}
post_upgrade() {
post_install $1
}
post_remove() {
systemd-sysusers biboumi.conf
}

View File

@@ -1,3 +0,0 @@
g jabber 17 - -
u biboumi - "Biboumi, XMPP gateway to IRC" /var/lib/biboumi
m biboumi jabber