diff --git a/src/biboumi/PKGBUILD b/src/biboumi/PKGBUILD new file mode 100644 index 0000000..97e0c15 --- /dev/null +++ b/src/biboumi/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: Emmanuel Gil Peyrot + +pkgname=biboumi +pkgver=8.3 +pkgrel=1 +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=('cmake' 'pandoc' 'git') +backup=("etc/$pkgname/$pkgname.cfg") +source=("https://git.louiz.org/biboumi/snapshot/$pkgname-$pkgver.tar.xz" + 'biboumi.tmpfiles' + 'biboumi.sysusers') +md5sums=('1c3f3f7231e2eee72833270c477136c4' + '3fd509b5cd76cd6c98ddb392957de03b' + '07c92af3248861ce94d361e98cfb7f5c') + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DSERVICE_USER=biboumi \ + -DSERVICE_GROUP=jabber + make biboumi +} + +package() { + cd build + make DESTDIR="$pkgdir/" install + + cd ../$pkgname-$pkgver + install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + install -Dm644 doc/biboumi.1.rst "$pkgdir"/usr/share/doc/$pkgname/$pkgname.rst + install -Dm644 conf/biboumi.cfg "$pkgdir"/etc/$pkgname/$pkgname.cfg + + cd .. + install -Dm644 biboumi.sysusers "$pkgdir"/usr/lib/sysusers.d/$pkgname.conf + install -Dm644 biboumi.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/$pkgname.conf +} diff --git a/src/biboumi/biboumi.sysusers b/src/biboumi/biboumi.sysusers new file mode 100644 index 0000000..fd619d6 --- /dev/null +++ b/src/biboumi/biboumi.sysusers @@ -0,0 +1,3 @@ +g jabber 17 - - +u biboumi - "Biboumi, XMPP gateway to IRC" /var/lib/biboumi +m biboumi jabber diff --git a/src/biboumi/biboumi.tmpfiles b/src/biboumi/biboumi.tmpfiles new file mode 100644 index 0000000..bd737e1 --- /dev/null +++ b/src/biboumi/biboumi.tmpfiles @@ -0,0 +1,2 @@ +d /var/lib/biboumi 0755 biboumi jabber +d /var/log/biboumi 0700 biboumi jabber diff --git a/src/srb2kart-data/PKGBUILD b/src/srb2kart-data/PKGBUILD new file mode 100644 index 0000000..e47a598 --- /dev/null +++ b/src/srb2kart-data/PKGBUILD @@ -0,0 +1,18 @@ +# Maintainer: steeltitanium +# Contributor: steeltitanium + +pkgname=srb2kart-data +pkgver=1.1 +pkgrel=1 +pkgdesc="Data files for Sonic Robo Blast 2 Kart" +arch=('any') +license=('custom') +url='https://mb.srb2.org/showthread.php?t=43708' +optdepends=('srb2kart: "Sonic Robo Blast 2 Kart" game') +source=("https://github.com/STJr/Kart-Public/releases/download/v$pkgver/srb2kart-v${pkgver//./}-Installer.exe") +sha256sums=('3af7d005082c2d08a0494a5bb9137b335009ff311cb5bfec215ed07d8ab2185b') + +package() { + install -d "$pkgdir"/usr/share/games/SRB2Kart + install -m644 {music,textures,gfx,maps,sounds,chars,bonuschars}.kart srb2.srb "$pkgdir"/usr/share/games/SRB2Kart +} \ No newline at end of file