aboutsummaryrefslogtreecommitdiffstats
path: root/main/ircservices/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/ircservices/APKBUILD')
-rw-r--r--main/ircservices/APKBUILD9
1 files changed, 4 insertions, 5 deletions
diff --git a/main/ircservices/APKBUILD b/main/ircservices/APKBUILD
index ea546aeffa..3679044cb9 100644
--- a/main/ircservices/APKBUILD
+++ b/main/ircservices/APKBUILD
@@ -15,9 +15,9 @@ subpackages="$pkgname-doc"
source="http://achurch.org/services/tarballs/ircservices-$pkgver.tar.gz
$pkgname.initd"
-
+_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
sed -i \
-e "s/-m 750/-m 755/" \
-e "s/-m 640/-m 644/" \
@@ -25,8 +25,7 @@ prepare() {
}
build() {
- cd "$srcdir"/$pkgname-$pkgver
-
+ cd "$_builddir"
# note: this is not autotools
RUNGROUP=ircservices ./configure \
-cc "$CC" \
@@ -43,7 +42,7 @@ build() {
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
# export INSTALL_PREFIX="$pkgdir"
make -j1 \
BINDEST="$pkgdir"/usr/bin \