summaryrefslogtreecommitdiffstats
path: root/main/bitlbee/APKBUILD
diff options
context:
space:
mode:
authorKiyoshi Aman <aphrael@alpinelinux.org>2012-02-18 07:32:54 -0500
committerKiyoshi Aman <aphrael@alpinelinux.org>2012-02-18 07:32:54 -0500
commitadcd8d3237018856a9c26264911025d4c93514a2 (patch)
treefda03ac91eabe2498b313003421a908801d64f94 /main/bitlbee/APKBUILD
parente30d45d71a8d0fa1b0196afeee5662065d2989d8 (diff)
downloadaports-adcd8d3237018856a9c26264911025d4c93514a2.tar.bz2
aports-adcd8d3237018856a9c26264911025d4c93514a2.tar.xz
main/bitlbee: Remove post-install script, move contents into APKBUILD.
Diffstat (limited to 'main/bitlbee/APKBUILD')
-rw-r--r--main/bitlbee/APKBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/main/bitlbee/APKBUILD b/main/bitlbee/APKBUILD
index 8103b707d..29613562c 100644
--- a/main/bitlbee/APKBUILD
+++ b/main/bitlbee/APKBUILD
@@ -15,7 +15,6 @@ source="
http://get.bitlbee.org/src/$pkgname-$pkgver.tar.gz
$pkgname.initd
$pkgname.confd
- $pkgname.post-install
"
_builddir="$srcdir/$pkgname-$pkgver"
@@ -32,8 +31,8 @@ prepare() {
build() {
cd "$_builddir"
./configure --ssl=openssl \
- --otr=plugin \
- --prefix=/usr \
+ --otr=plugin \
+ --prefix=/usr \
--etcdir=/etc/bitlbee || return 1
make || return 1
}
@@ -46,6 +45,8 @@ package() {
"$pkgdir"/etc/init.d/$pkgname || return 1
install -m644 -D "$srcdir"/$pkgname.confd \
"$pkgdir"/etc/conf.d/$pkgname || return 1
+ mkdir -p "$pkgdir"/var/lib/bitlbee
+ chown nobody:nobody "$pkgdir"/var/lib/bitlbee
}
otr() {
mkdir -p "$subpkgdir"/usr/lib
@@ -54,5 +55,4 @@ otr() {
md5sums="9ff97260a2a7f3a7d102db158a8d9887 bitlbee-3.0.5.tar.gz
7c3f5a9c5b25b425e87ff38abc44282d bitlbee.initd
-bf07d39a4b652c63415b411229c5e281 bitlbee.confd
-2d91f7ae46d69560d7f156f282dceaef bitlbee.post-install"
+bf07d39a4b652c63415b411229c5e281 bitlbee.confd"