aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-12-21 18:16:29 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-03-03 13:03:39 +0000
commit5a32b66262698fd0d6403be0f17876d25b38ca3b (patch)
tree73a5d863c662c303545ad42700a24b04559d2f5c
parent5130664779ff3a183c4aafa401b63ca4d1b83848 (diff)
downloadaports-5a32b66262698fd0d6403be0f17876d25b38ca3b.tar.bz2
aports-5a32b66262698fd0d6403be0f17876d25b38ca3b.tar.xz
main/ircservices: update layout
-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 \