aboutsummaryrefslogtreecommitdiffstats
path: root/main/aumix/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-04-20 11:13:57 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-04-20 11:51:38 +0000
commit1b3c17c7baf68af62e5c761be1b971919e443712 (patch)
treec71d0c7d473ffee0c9f590a55f8ddd290d2c51e7 /main/aumix/APKBUILD
parent63f54393e2a1971d9b19f4d3927b6ac0a9b31a2e (diff)
downloadaports-1b3c17c7baf68af62e5c761be1b971919e443712.tar.bz2
aports-1b3c17c7baf68af62e5c761be1b971919e443712.tar.xz
main/aumix: force disable NLS
Diffstat (limited to 'main/aumix/APKBUILD')
-rw-r--r--main/aumix/APKBUILD15
1 files 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 <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