aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <b@bpiotrowski.pl>2016-07-09 10:25:13 +0200
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2016-07-09 10:25:40 +0200
commit4b55dead7e536ef352e5472a295a765194894685 (patch)
treed1b009579893f556b6b5fb78fe5b4ccd85bbbd1b
parent381cc242972517a9fb14adb5162047ff717c7b35 (diff)
downloadaports-4b55dead7e536ef352e5472a295a765194894685.tar.bz2
aports-4b55dead7e536ef352e5472a295a765194894685.tar.xz
testing/prosody: use builddir
-rw-r--r--testing/prosody/APKBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/testing/prosody/APKBUILD b/testing/prosody/APKBUILD
index 2470041110..e8e41af6f5 100644
--- a/testing/prosody/APKBUILD
+++ b/testing/prosody/APKBUILD
@@ -21,10 +21,10 @@ source="http://prosody.im/downloads/source/$pkgname-$pkgver.tar.gz
$pkgname.initd
"
-_builddir="$srcdir/$pkgname-$pkgver"
+builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--prefix=/usr \
--sysconfdir=/etc/prosody \
@@ -36,13 +36,13 @@ build() {
|| return 1
# Don't generate certs
- rm -f "$_builddir"/certs/Makefile
+ rm -f "$builddir"/certs/Makefile
make || return 1
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
install -d -o prosody -g prosody "$pkgdir/var/log/prosody" || return 1