diff options
-rw-r--r-- | testing/prosody/APKBUILD | 8 |
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 |