diff options
-rw-r--r-- | main/aumix/APKBUILD | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/main/aumix/APKBUILD b/main/aumix/APKBUILD index 679b87bdf..1e455850d 100644 --- a/main/aumix/APKBUILD +++ b/main/aumix/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=aumix pkgver=2.8 -pkgrel=1 +pkgrel=2 pkgdesc="A color text mode sound mixer" url="http://www.jpj.net/~trevor/aumix.html" license="GPL" @@ -14,13 +14,18 @@ source="http://jpj.net/~trevor/aumix/aumix-$pkgver.tar.bz2 aumix.initd " -build() { +prepare() { cd "$srcdir"/aumix-$pkgver for i in ../*.patch; do msg "Applying $i..." patch -p1 < $i || return 1 done + sed -i -e '/USE_NLS=yes/d' configure || return 1 +} + +build() { + cd "$srcdir"/aumix-$pkgver ./configure --prefix=/usr \ --mandir=/usr/share/man \ --without-gtk1 \ @@ -28,7 +33,11 @@ build() { --disable-nls make || return 1 - make DESTDIR="$pkgdir" install || return 1 +} + +package() { + cd "$srcdir"/aumix-$pkgver + make -j1 DESTDIR="$pkgdir" install || return 1 install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/aumix } md5sums="dc3fc7209752207c23e7c94ab886b340 aumix-2.8.tar.bz2 |