summaryrefslogtreecommitdiff
path: root/coherence/bitlbee-coherence/PKGBUILD
diff options
context:
space:
mode:
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"