[arch-commits] Commit in (6 files)

Felix Yan felixonmars at archlinux.org
Mon Jan 14 12:23:47 UTC 2019


    Date: Monday, January 14, 2019 @ 12:23:46
  Author: felixonmars
Revision: 423060

extra2community: Moving bitlbee from extra to community

Added:
  bitlbee/
  bitlbee/repos/
  bitlbee/trunk/
  bitlbee/trunk/PKGBUILD
  bitlbee/trunk/bitlbee.install
  bitlbee/trunk/bitlbee.tmpfiles

------------------+
 PKGBUILD         |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 bitlbee.install  |   12 ++++++++++++
 bitlbee.tmpfiles |    1 +
 3 files changed, 61 insertions(+)

Added: bitlbee/trunk/PKGBUILD
===================================================================
--- bitlbee/trunk/PKGBUILD	                        (rev 0)
+++ bitlbee/trunk/PKGBUILD	2019-01-14 12:23:46 UTC (rev 423060)
@@ -0,0 +1,48 @@
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+# Contributor: Jeff 'codemac' Mickey <jeff at archlinux.org>
+# Contributor: simo <simo at archlinux.org>
+# Contributor: FUBAR <mrfubar at gmail.com>
+
+pkgname=bitlbee
+pkgver=3.5.1
+pkgrel=2
+pkgdesc='Brings instant messaging (XMPP, MSN, Yahoo!, AIM, ICQ, Twitter) to IRC'
+url='http://www.bitlbee.org/'
+license=('GPL')
+arch=('x86_64')
+depends=('gnutls' 'glib2')
+makedepends=('python' 'libotr')
+optdepends=('libotr: for OTR encryption support')
+source=("https://get.bitlbee.org/src/$pkgname-$pkgver.tar.gz"
+        'bitlbee.tmpfiles')
+sha1sums=('de0767facdb7729253ae4d6ef6e3637ebd54939a'
+          '3695ed2fe22436c4d0fc3ead829f7d1f89bc491c')
+backup=('etc/bitlbee/bitlbee.conf'
+        'etc/bitlbee/motd.txt')
+install=bitlbee.install
+
+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 \
+    --strip=0 \
+    --otr=plugin
+
+  make
+}
+
+package() {
+  make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install{,-etc,-dev,-systemd}
+
+  install -o65 -g65 -dm770 "$pkgdir/var/lib/bitlbee"
+  install -Dm644 "$srcdir/bitlbee.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/bitlbee.conf"
+}


Property changes on: bitlbee/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: bitlbee/trunk/bitlbee.install
===================================================================
--- bitlbee/trunk/bitlbee.install	                        (rev 0)
+++ bitlbee/trunk/bitlbee.install	2019-01-14 12:23:46 UTC (rev 423060)
@@ -0,0 +1,12 @@
+post_install() {
+  if ! getent group bitlbee &>/dev/null; then
+    groupadd -r -g 65 bitlbee >/dev/null
+  fi
+  if ! getent passwd bitlbee &>/dev/null; then
+    useradd -r -u 65 -g bitlbee -d /var/lib/bitlbee -s /bin/false -c bitlbee bitlbee >/dev/null
+  fi
+}
+
+post_upgrade() {
+  post_install
+}

Added: bitlbee/trunk/bitlbee.tmpfiles
===================================================================
--- bitlbee/trunk/bitlbee.tmpfiles	                        (rev 0)
+++ bitlbee/trunk/bitlbee.tmpfiles	2019-01-14 12:23:46 UTC (rev 423060)
@@ -0,0 +1 @@
+d /run/bitlbee 0755 bitlbee bitlbee - -



More information about the arch-commits mailing list