Add and update pkgs

This commit is contained in:
moparisthebest
2024-02-13 00:05:59 -05:00
parent 1aa97b3411
commit b49be0254a
15 changed files with 367 additions and 20 deletions

View File

@@ -2,17 +2,17 @@
_pkgname=biboumi
pkgname="$_pkgname-git"
pkgver=8.2.r87.ga8ce138
pkgrel=1
pkgver=9.0.r27.g2bd91dc
pkgrel=2
pkgdesc="XMPP gateway to IRC"
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
url="https://biboumi.louiz.org/"
license=('ZLIB')
depends=('expat' 'libidn' 'udns' 'botan' 'sqlite' 'postgresql-libs')
makedepends=('git' 'cmake' 'pandoc')
depends=('expat' 'libidn' 'udns' 'botan2' 'sqlite' 'postgresql-libs')
makedepends=('git' 'cmake' 'ninja' 'python-sphinx' 'python-sphinx_rtd_theme')
backup=("etc/$_pkgname/$_pkgname.cfg")
install="$_pkgname.install"
source=("$_pkgname::git+https://lab.louiz.org/louiz/biboumi.git"
source=("$_pkgname::git+https://codeberg.org/poezio/biboumi"
'biboumi.install'
'sysuser.conf')
md5sums=('SKIP'
@@ -38,17 +38,22 @@ build() {
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSERVICE_USER=biboumi \
-DSERVICE_GROUP=jabber
make biboumi
-DSERVICE_GROUP=jabber \
-Wno-dev \
-G Ninja
ninja
ninja doc
}
package() {
cd $_pkgname/build
make DESTDIR="$pkgdir/" install
DESTDIR="$pkgdir/" ninja install
install -dm755 "$pkgdir"/usr/share/doc/$_pkgname/
cp -r html "$pkgdir"/usr/share/doc/$_pkgname/
cd ..
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$_pkgname/LICENSE
install -dm755 "$pkgdir"/usr/share/doc/$_pkgname/
install -Dm644 doc/*.rst "$pkgdir"/usr/share/doc/$_pkgname/
install -Dm644 conf/biboumi.cfg "$pkgdir"/etc/$_pkgname/$_pkgname.cfg