From 1b3c17c7baf68af62e5c761be1b971919e443712 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 20 Apr 2010 11:13:57 +0000 Subject: main/aumix: force disable NLS --- main/aumix/APKBUILD | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/main/aumix/APKBUILD b/main/aumix/APKBUILD index 679b87bdfa..1e455850d0 100644 --- a/main/aumix/APKBUILD +++ b/main/aumix/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa 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 -- cgit v1.2.3