aboutsummaryrefslogtreecommitdiffstats
path: root/main/aumix
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-10-30 15:32:13 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-31 12:39:44 +0000
commit42b9fc6a207ce7e45198fba9b6fc6b999bdb9de0 (patch)
tree15636d4b0cfd388f3214f852a404c4128df13e1f /main/aumix
parent42bcaf7be32ae8d8dbe18d12b0b271e827c2a5a8 (diff)
downloadaports-42b9fc6a207ce7e45198fba9b6fc6b999bdb9de0.tar.bz2
aports-42b9fc6a207ce7e45198fba9b6fc6b999bdb9de0.tar.xz
main/aumix: update layout (minor)
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
}