aboutsummaryrefslogtreecommitdiffstats
path: root/main/aumix/APKBUILD
blob: 679b87bdfaa8832cf8eb81f0f7b475e78635dd93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=aumix
pkgver=2.8
pkgrel=1
pkgdesc="A color text mode sound mixer"
url="http://www.jpj.net/~trevor/aumix.html"
license="GPL"
depends=
makedepends="ncurses-dev"
source="http://jpj.net/~trevor/aumix/aumix-$pkgver.tar.bz2
	aumix-2.8-mute.patch
	aumix-2.8-nohome.patch
	aumix-2.8-save_load.patch
	aumix.initd
	"

build() { 
	cd "$srcdir"/aumix-$pkgver
	for i in ../*.patch; do
		msg "Applying $i..."
		patch -p1 < $i || return 1
	done

	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--without-gtk1 \
		--without-gtk \
		--disable-nls

	make || return 1
	make DESTDIR="$pkgdir" install || return 1
	install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/aumix
}
md5sums="dc3fc7209752207c23e7c94ab886b340  aumix-2.8.tar.bz2
3611c0372870a0ad67630231fe576e32  aumix-2.8-mute.patch
6c8d691beb495257d8309e58c127acd2  aumix-2.8-nohome.patch
113377f0f69925467a5a5b633a78160c  aumix-2.8-save_load.patch
affaa735ad9b65a540842994caba18fd  aumix.initd"