summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman@gmail.com>2011-01-16 15:20:12 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-01-16 15:20:12 -0600
commitbace6a80ed55af119f6d04d471553d377200c020 (patch)
treed77e03634aa87ba841e13c4c75cdb3d514eaf21c
parent87eda6a8b39c69310bd80045f388a9b2de3d4929 (diff)
downloadaports-bace6a80ed55af119f6d04d471553d377200c020.tar.bz2
aports-bace6a80ed55af119f6d04d471553d377200c020.tar.xz
testing/bitlbee: create bitlbee state directory
-rw-r--r--testing/bitlbee/APKBUILD4
-rw-r--r--testing/bitlbee/bitlbee.post-install4
2 files changed, 6 insertions, 2 deletions
diff --git a/testing/bitlbee/APKBUILD b/testing/bitlbee/APKBUILD
index 2be9487b0..138aaa6a1 100644
--- a/testing/bitlbee/APKBUILD
+++ b/testing/bitlbee/APKBUILD
@@ -2,14 +2,14 @@
# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
pkgname=bitlbee
pkgver=3.0.1
-pkgrel=0
+pkgrel=1
pkgdesc="An IRC to other chat networks gateway"
url="http://www.bitlbee.org/"
arch="all"
license="GPL-2"
depends=
makedepends="glib-dev openssl-dev"
-install=
+install="$pkgname.post-install"
subpackages="$pkgname-doc"
source="
http://get.bitlbee.org/src/$pkgname-$pkgver.tar.gz
diff --git a/testing/bitlbee/bitlbee.post-install b/testing/bitlbee/bitlbee.post-install
new file mode 100644
index 000000000..d962fdcd9
--- /dev/null
+++ b/testing/bitlbee/bitlbee.post-install
@@ -0,0 +1,4 @@
+#!/bin/sh
+mkdir -p /var/lib/bitlbee
+chown nobody:nobody /var/lib/bitlbee
+