aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman@gmail.com>2011-02-16 01:35:44 -0500
committerKiyoshi Aman <kiyoshi.aman@gmail.com>2011-02-16 01:37:11 -0500
commit3731e07125ddb129e0949944de7365795de49be3 (patch)
tree48699c51907f83e6c7e51ccfb83f946c9a198294
parente4497f656c7be11752bd9d33879017ef020ccec2 (diff)
downloadaports-3731e07125ddb129e0949944de7365795de49be3.tar.bz2
aports-3731e07125ddb129e0949944de7365795de49be3.tar.xz
main/bitlbee: Install config & motd to /etc/bitlbee, not /usr/etc/bitlbee.
-rw-r--r--main/bitlbee/APKBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/main/bitlbee/APKBUILD b/main/bitlbee/APKBUILD
index 76f3928a74..834c8b6b6a 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