summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonio Rojas2021-05-08 09:01:49 +0000
committerAntonio Rojas2021-05-08 09:01:49 +0000
commit0d2c6a0973ba22b62ddb10daab8b0dad99e8a5b6 (patch)
treef47f14a98c2f58692e3c59f92e37e18c31c66ce9
downloadaur-0d2c6a0973ba22b62ddb10daab8b0dad99e8a5b6.tar.gz
Dropped from repos
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD50
-rw-r--r--bitlbee.sysusers.conf1
-rw-r--r--bitlbee.tmpfiles1
4 files changed, 75 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6532f6a7fdf
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = bitlbee
+ pkgdesc = Brings instant messaging (XMPP, MSN, Yahoo!, AIM, ICQ, Twitter) to IRC
+ pkgver = 3.6
+ pkgrel = 2
+ url = https://www.bitlbee.org/
+ arch = x86_64
+ license = GPL
+ makedepends = libotr
+ makedepends = python
+ depends = glib2
+ depends = gnutls
+ optdepends = libotr: for OTR encryption support
+ backup = etc/bitlbee/bitlbee.conf
+ backup = etc/bitlbee/motd.txt
+ source = https://get.bitlbee.org/src/bitlbee-3.6.tar.gz
+ source = bitlbee.sysusers.conf
+ source = bitlbee.tmpfiles
+ sha512sums = ccbf0f23e228de2de147241f36f59744b2256cba958e2fabfba0cfa60935e55bbb7d7e20fffa54da9a345e55ffa9ca82cb62e9b99dc738ba35c6e268c6561a8d
+ sha512sums = 0a0a0af34144b500fdb4c944e56baf9387e0031a028b80888bfcbde40c3c4e542b4f5079b2ac4890078757cc1dcdcd40dd27ee56b73af7a8df5751308a00ac80
+ sha512sums = b073dad94e33e1599d114e2c5bbdd4950119006dac7507ad5646b73c20a471709aa8acc7b92284267c0503a6fb614462bb0a34ae38df9580b8dcea18e4c5b76e
+
+pkgname = bitlbee
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..65008d71ea9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,50 @@
+# Maintainer: Daniel M. Capella <polyzen@archlinux.org>
+# Contributor: Dave Reisner <dreisner@archlinux.org>
+# Contributor: Gaetan Bisson <bisson@archlinux.org>
+# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
+# Contributor: Jeff 'codemac' Mickey <jeff@archlinux.org>
+# Contributor: simo <simo@archlinux.org>
+# Contributor: FUBAR <mrfubar@gmail.com>
+
+pkgname=bitlbee
+pkgver=3.6
+pkgrel=2
+pkgdesc='Brings instant messaging (XMPP, MSN, Yahoo!, AIM, ICQ, Twitter) to IRC'
+url=https://www.bitlbee.org/
+license=('GPL')
+arch=('x86_64')
+depends=('glib2' 'gnutls')
+makedepends=('libotr' 'python')
+optdepends=('libotr: for OTR encryption support')
+source=("https://get.bitlbee.org/src/$pkgname-$pkgver.tar.gz"
+ 'bitlbee.sysusers.conf'
+ 'bitlbee.tmpfiles')
+sha512sums=('ccbf0f23e228de2de147241f36f59744b2256cba958e2fabfba0cfa60935e55bbb7d7e20fffa54da9a345e55ffa9ca82cb62e9b99dc738ba35c6e268c6561a8d'
+ '0a0a0af34144b500fdb4c944e56baf9387e0031a028b80888bfcbde40c3c4e542b4f5079b2ac4890078757cc1dcdcd40dd27ee56b73af7a8df5751308a00ac80'
+ 'b073dad94e33e1599d114e2c5bbdd4950119006dac7507ad5646b73c20a471709aa8acc7b92284267c0503a6fb614462bb0a34ae38df9580b8dcea18e4c5b76e')
+backup=('etc/bitlbee/bitlbee.conf'
+ 'etc/bitlbee/motd.txt')
+
+build() {
+ cd $pkgname-$pkgver
+
+ ./configure \
+ --prefix=/usr \
+ --etcdir=/etc/bitlbee \
+ --sbindir=/usr/bin \
+ --pidfile=/run/bitlbee/bitlbee.pid \
+ --ipcsocket=/run/bitlbee/bitlbee.sock \
+ --systemdsystemunitdir=/usr/lib/systemd/system \
+ --ssl=gnutls \
+ --otr=plugin
+
+ make
+}
+
+package() {
+ make -C $pkgname-$pkgver DESTDIR="$pkgdir" install{,-etc,-dev,-systemd}
+
+ install -o65 -g65 -dm770 "$pkgdir"/var/lib/bitlbee
+ install -Dm644 bitlbee.sysusers.conf "$pkgdir"/usr/lib/sysusers.d/bitlbee.conf
+ install -Dm644 bitlbee.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/bitlbee.conf
+}
diff --git a/bitlbee.sysusers.conf b/bitlbee.sysusers.conf
new file mode 100644
index 00000000000..8462110de41
--- /dev/null
+++ b/bitlbee.sysusers.conf
@@ -0,0 +1 @@
+u bitlbee 65 "BitlBee user" /var/lib/bitlbee
diff --git a/bitlbee.tmpfiles b/bitlbee.tmpfiles
new file mode 100644
index 00000000000..254939fd595
--- /dev/null
+++ b/bitlbee.tmpfiles
@@ -0,0 +1 @@
+d /run/bitlbee 0755 bitlbee bitlbee -