[arch-commits] Commit in bitlbee/repos (8 files)

Andreas Radke andyrtr at archlinux.org
Fri Apr 17 18:20:08 UTC 2015


    Date: Friday, April 17, 2015 @ 20:20:08
  Author: andyrtr
Revision: 237317

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  bitlbee/repos/staging-i686/
  bitlbee/repos/staging-i686/PKGBUILD
    (from rev 237316, bitlbee/trunk/PKGBUILD)
  bitlbee/repos/staging-i686/bitlbee.install
    (from rev 237316, bitlbee/trunk/bitlbee.install)
  bitlbee/repos/staging-i686/bitlbee.tmpfiles
    (from rev 237316, bitlbee/trunk/bitlbee.tmpfiles)
  bitlbee/repos/staging-x86_64/
  bitlbee/repos/staging-x86_64/PKGBUILD
    (from rev 237316, bitlbee/trunk/PKGBUILD)
  bitlbee/repos/staging-x86_64/bitlbee.install
    (from rev 237316, bitlbee/trunk/bitlbee.install)
  bitlbee/repos/staging-x86_64/bitlbee.tmpfiles
    (from rev 237316, bitlbee/trunk/bitlbee.tmpfiles)

---------------------------------+
 staging-i686/PKGBUILD           |   52 ++++++++++++++++++++++++++++++++++++++
 staging-i686/bitlbee.install    |   22 ++++++++++++++++
 staging-i686/bitlbee.tmpfiles   |    1 
 staging-x86_64/PKGBUILD         |   52 ++++++++++++++++++++++++++++++++++++++
 staging-x86_64/bitlbee.install  |   22 ++++++++++++++++
 staging-x86_64/bitlbee.tmpfiles |    1 
 6 files changed, 150 insertions(+)

Copied: bitlbee/repos/staging-i686/PKGBUILD (from rev 237316, bitlbee/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-04-17 18:20:08 UTC (rev 237317)
@@ -0,0 +1,52 @@
+# $Id$
+
+# Contributor: FUBAR <mrfubar at gmail.com>
+# Contributor: simo <simo at archlinux.org>
+# Contributor: Jeff 'codemac' Mickey <jeff at archlinux.org>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+
+pkgname=bitlbee
+pkgver=3.2.2
+pkgrel=2
+pkgdesc='Brings instant messaging (XMPP, MSN, Yahoo!, AIM, ICQ, Twitter) to IRC'
+url='http://www.bitlbee.org/'
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('gnutls' 'glib2')
+makedepends=('asciidoc' 'libotr')
+optdepends=('skype4py: to use skyped'
+            'libotr: for OTR encryption support')
+source=("http://get.bitlbee.org/src/$pkgname-$pkgver.tar.gz"
+        'bitlbee.tmpfiles')
+sha1sums=('7e3cfe2b6bf4e8e603c74e7587307a6f5d267e9c'
+          '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 \
+    --skype=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"
+}

Copied: bitlbee/repos/staging-i686/bitlbee.install (from rev 237316, bitlbee/trunk/bitlbee.install)
===================================================================
--- staging-i686/bitlbee.install	                        (rev 0)
+++ staging-i686/bitlbee.install	2015-04-17 18:20:08 UTC (rev 237317)
@@ -0,0 +1,22 @@
+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
+  systemd-tmpfiles --create bitlbee.conf
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  if getent passwd bitlbee &>/dev/null; then
+    userdel bitlbee >/dev/null
+  fi
+  if getent group bitlbee &>/dev/null; then
+    groupdel bitlbee >/dev/null
+  fi
+}

Copied: bitlbee/repos/staging-i686/bitlbee.tmpfiles (from rev 237316, bitlbee/trunk/bitlbee.tmpfiles)
===================================================================
--- staging-i686/bitlbee.tmpfiles	                        (rev 0)
+++ staging-i686/bitlbee.tmpfiles	2015-04-17 18:20:08 UTC (rev 237317)
@@ -0,0 +1 @@
+d /run/bitlbee 0755 bitlbee bitlbee - -

Copied: bitlbee/repos/staging-x86_64/PKGBUILD (from rev 237316, bitlbee/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-04-17 18:20:08 UTC (rev 237317)
@@ -0,0 +1,52 @@
+# $Id$
+
+# Contributor: FUBAR <mrfubar at gmail.com>
+# Contributor: simo <simo at archlinux.org>
+# Contributor: Jeff 'codemac' Mickey <jeff at archlinux.org>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+
+pkgname=bitlbee
+pkgver=3.2.2
+pkgrel=2
+pkgdesc='Brings instant messaging (XMPP, MSN, Yahoo!, AIM, ICQ, Twitter) to IRC'
+url='http://www.bitlbee.org/'
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('gnutls' 'glib2')
+makedepends=('asciidoc' 'libotr')
+optdepends=('skype4py: to use skyped'
+            'libotr: for OTR encryption support')
+source=("http://get.bitlbee.org/src/$pkgname-$pkgver.tar.gz"
+        'bitlbee.tmpfiles')
+sha1sums=('7e3cfe2b6bf4e8e603c74e7587307a6f5d267e9c'
+          '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 \
+    --skype=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"
+}

Copied: bitlbee/repos/staging-x86_64/bitlbee.install (from rev 237316, bitlbee/trunk/bitlbee.install)
===================================================================
--- staging-x86_64/bitlbee.install	                        (rev 0)
+++ staging-x86_64/bitlbee.install	2015-04-17 18:20:08 UTC (rev 237317)
@@ -0,0 +1,22 @@
+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
+  systemd-tmpfiles --create bitlbee.conf
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  if getent passwd bitlbee &>/dev/null; then
+    userdel bitlbee >/dev/null
+  fi
+  if getent group bitlbee &>/dev/null; then
+    groupdel bitlbee >/dev/null
+  fi
+}

Copied: bitlbee/repos/staging-x86_64/bitlbee.tmpfiles (from rev 237316, bitlbee/trunk/bitlbee.tmpfiles)
===================================================================
--- staging-x86_64/bitlbee.tmpfiles	                        (rev 0)
+++ staging-x86_64/bitlbee.tmpfiles	2015-04-17 18:20:08 UTC (rev 237317)
@@ -0,0 +1 @@
+d /run/bitlbee 0755 bitlbee bitlbee - -



More information about the arch-commits mailing list