summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/bitlbee/APKBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/main/bitlbee/APKBUILD b/main/bitlbee/APKBUILD
index 76f3928a7..834c8b6b6 100644
--- a/main/bitlbee/APKBUILD
+++ b/main/bitlbee/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
pkgname=bitlbee
pkgver=3.0.1
-pkgrel=2
+pkgrel=3
pkgdesc="An IRC to other chat networks gateway"
url="http://www.bitlbee.org/"
arch="all"
@@ -15,7 +15,7 @@ source="
http://get.bitlbee.org/src/$pkgname-$pkgver.tar.gz
$pkgname.initd
$pkgname.confd
- $pkgname.post-install
+ $pkgname.post-install
"
_builddir="$srcdir/$pkgname-$pkgver"
@@ -31,13 +31,16 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --ssl=openssl --otr=plugin --prefix=/usr || return 1
+ ./configure --ssl=openssl \
+ --otr=plugin \
+ --prefix=/usr \
+ --etcdir=/etc/bitlbee || return 1
make || return 1
}
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install install-etc || return 1
install -m755 -D "$srcdir"/$pkgname.initd \
"$pkgdir"/etc/init.d/$pkgname || return 1