summaryrefslogtreecommitdiff
path: root/extra/bitlbee
diff options
context:
space:
mode:
Diffstat (limited to 'extra/bitlbee')
-rw-r--r--extra/bitlbee/PKGBUILD12
-rw-r--r--extra/bitlbee/sbindir.patch14
2 files changed, 22 insertions, 4 deletions
diff --git a/extra/bitlbee/PKGBUILD b/extra/bitlbee/PKGBUILD
index a6a7db581..8b2d98ebc 100644
--- a/extra/bitlbee/PKGBUILD
+++ b/extra/bitlbee/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 150650 2012-02-19 02:03:57Z bisson $
+# $Id: PKGBUILD 150687 2012-02-20 07:58:47Z bisson $
# Contributor: FUBAR <mrfubar@gmail.com>
# Contributor: simo <simo@archlinux.org>
@@ -8,7 +8,7 @@
pkgname=bitlbee
pkgver=3.0.5
-pkgrel=1
+pkgrel=2
pkgdesc='Brings instant messaging (XMPP, MSN, Yahoo!, AIM, ICQ, Twitter) to IRC'
url='http://www.bitlbee.org/'
license=('GPL')
@@ -19,9 +19,11 @@ optdepends=('skype4py: to use skyped'
'libotr: for OTR encryption support'
'xinetd: to run bitlbee through xinetd')
source=("http://get.bitlbee.org/src/${pkgname}-${pkgver}.tar.gz"
- 'xinetd'
- 'rc.d')
+ 'sbindir.patch'
+ 'xinetd'
+ 'rc.d')
sha1sums=('74afdff87be49ce060771a6ae10d7643cd57b9b6'
+ '9b774e6d85471a4e43e25b8b941cd0e1032a7a6c'
'5e0af27ba9cc4fe455e3381c75fc49a9326e2f17'
'be09d29af3853825778331df451f16ca9e452d03')
@@ -31,6 +33,8 @@ install=install
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p1 -i ../sbindir.patch
+
./configure \
--prefix=/usr \
--etcdir=/etc/bitlbee \
diff --git a/extra/bitlbee/sbindir.patch b/extra/bitlbee/sbindir.patch
new file mode 100644
index 000000000..7640508f7
--- /dev/null
+++ b/extra/bitlbee/sbindir.patch
@@ -0,0 +1,14 @@
+diff -aur old/Makefile new/Makefile
+--- old/Makefile 2012-02-18 21:55:09.000000000 +1100
++++ new/Makefile 2012-02-20 18:28:08.716130584 +1100
+@@ -135,8 +135,8 @@
+
+ systemd:
+ ifdef SYSTEMDSYSTEMUNITDIR
+- sed 's|@sbindir@|$(BINDIR)|' init/bitlbee.service.in > init/bitlbee.service
+- sed 's|@sbindir@|$(BINDIR)|' init/bitlbee@.service.in > init/bitlbee@.service
++ sed 's|@sbindir@|$(SBINDIR)|' init/bitlbee.service.in > init/bitlbee.service
++ sed 's|@sbindir@|$(SBINDIR)|' init/bitlbee@.service.in > init/bitlbee@.service
+ endif
+
+ install-systemd: