From adcd8d3237018856a9c26264911025d4c93514a2 Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Sat, 18 Feb 2012 07:32:54 -0500 Subject: main/bitlbee: Remove post-install script, move contents into APKBUILD. --- main/bitlbee/APKBUILD | 10 +++++----- 1 file 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" -- cgit v1.2.3