aboutsummaryrefslogtreecommitdiffstats
path: root/main/aumix
diff options
context:
space:
mode:
Diffstat (limited to 'main/aumix')
-rw-r--r--main/aumix/APKBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/main/aumix/APKBUILD b/main/aumix/APKBUILD
index b0f936caa2..7d1386f514 100644
--- a/main/aumix/APKBUILD
+++ b/main/aumix/APKBUILD
@@ -12,13 +12,14 @@ source="http://jpj.net/~trevor/aumix/releases/aumix-$pkgver.tar.bz2
aumix.initd
"
+_builddir="$srcdir"/aumix-$pkgver
prepare() {
- cd "$srcdir"/aumix-$pkgver
+ cd "$_builddir"
update_config_sub || return 1
}
build() {
- cd "$srcdir"/aumix-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -32,7 +33,7 @@ build() {
}
package() {
- cd "$srcdir"/aumix-$pkgver
+ cd "$_builddir"
make -j1 DESTDIR="$pkgdir" install || return 1
install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/aumix
}