[arch-commits] Commit in bitlbee/repos (4 files)
Felix Yan
felixonmars at archlinux.org
Mon Jan 14 12:24:01 UTC 2019
Date: Monday, January 14, 2019 @ 12:24:00
Author: felixonmars
Revision: 423061
archrelease: copy trunk to community-x86_64
Added:
bitlbee/repos/community-x86_64/
bitlbee/repos/community-x86_64/PKGBUILD
(from rev 423060, bitlbee/trunk/PKGBUILD)
bitlbee/repos/community-x86_64/bitlbee.install
(from rev 423060, bitlbee/trunk/bitlbee.install)
bitlbee/repos/community-x86_64/bitlbee.tmpfiles
(from rev 423060, bitlbee/trunk/bitlbee.tmpfiles)
------------------+
PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
bitlbee.install | 12 ++++++++++++
bitlbee.tmpfiles | 1 +
3 files changed, 61 insertions(+)
Copied: bitlbee/repos/community-x86_64/PKGBUILD (from rev 423060, bitlbee/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2019-01-14 12:24:00 UTC (rev 423061)
@@ -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"
+}
Copied: bitlbee/repos/community-x86_64/bitlbee.install (from rev 423060, bitlbee/trunk/bitlbee.install)
===================================================================
--- community-x86_64/bitlbee.install (rev 0)
+++ community-x86_64/bitlbee.install 2019-01-14 12:24:00 UTC (rev 423061)
@@ -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
+}
Copied: bitlbee/repos/community-x86_64/bitlbee.tmpfiles (from rev 423060, bitlbee/trunk/bitlbee.tmpfiles)
===================================================================
--- community-x86_64/bitlbee.tmpfiles (rev 0)
+++ community-x86_64/bitlbee.tmpfiles 2019-01-14 12:24:00 UTC (rev 423061)
@@ -0,0 +1 @@
+d /run/bitlbee 0755 bitlbee bitlbee - -
More information about the arch-commits
mailing list