summaryrefslogtreecommitdiff
path: root/coherence/bitlbee-coherence/PKGBUILD
diff options
context:
space:
mode:
authorGuest One <theguestone@gmail.com>2013-08-17 22:34:09 +0200
committerGuest One <theguestone@gmail.com>2013-08-17 22:34:09 +0200
commita1f0ea68efd10d4390426070de09edab77f5865c (patch)
treee82497e7d20828a5a71fa1831b4e08be4f91e138 /coherence/bitlbee-coherence/PKGBUILD
parentd8260860fe30ed314f61f7497a2c1e0e26ec8e22 (diff)
downloadabslibre-a1f0ea68efd10d4390426070de09edab77f5865c.tar.gz
abslibre-a1f0ea68efd10d4390426070de09edab77f5865c.tar.bz2
abslibre-a1f0ea68efd10d4390426070de09edab77f5865c.zip
fixed bitlbee-coherence PKGBUILD
Diffstat (limited to 'coherence/bitlbee-coherence/PKGBUILD')
-rw-r--r--coherence/bitlbee-coherence/PKGBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/coherence/bitlbee-coherence/PKGBUILD b/coherence/bitlbee-coherence/PKGBUILD
index f98728bed..f0cfcbf19 100644
--- a/coherence/bitlbee-coherence/PKGBUILD
+++ b/coherence/bitlbee-coherence/PKGBUILD
@@ -1,5 +1,6 @@
-pkgname=bitlbee
+_pkgname=bitlbee
+pkgname=bitlbee-coherence
pkgver=3.2
pkgrel=1
pkgdesc='Brings XMPP to IRC (removed support for nonfree, unsafe and dangerous for privacy protocols)'
@@ -10,7 +11,10 @@ depends=('gnutls' 'glib2')
makedepends=('asciidoc' 'libotr3')
optdepends=('libotr3: for OTR encryption support'
'xinetd: to run bitlbee through xinetd')
-source=("http://get.bitlbee.org/src/${pkgname}-${pkgver}.tar.gz"
+replaces=$_pkgname
+conflicts=$_pkgname
+provides=$_pkgname=$pkgver
+source=("http://get.bitlbee.org/src/${_pkgname}-${pkgver}.tar.gz"
'xinetd'
'bitlbee.tmpfiles')
sha1sums=('21e17f082c776566429603b1e8c966983a75ac9e'
@@ -22,7 +26,7 @@ backup=('etc/bitlbee/bitlbee.conf'
install=bitlbee.install
build() {
- cd "$pkgname-$pkgver"
+ cd "$_pkgname-$pkgver"
./configure \
--prefix=/usr \
@@ -50,7 +54,7 @@ build() {
}
package() {
- make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install{,-etc,-dev}
+ make -C "$_pkgname-$pkgver" DESTDIR="$pkgdir" install{,-etc,-dev}
install -o65 -g65 -dm770 "$pkgdir/var/lib/bitlbee"
install -Dm644 "$srcdir/xinetd" "$pkgdir/etc/xinetd.d/bitlbee"