aboutsummaryrefslogtreecommitdiffstats
path: root/main/aumix/APKBUILD
blob: b7e93b42324a07478e41f7a447c6bd7a760bd774 (plain) (blame)
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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=aumix
pkgver=2.9.1
pkgrel=0
pkgdesc="A color text mode sound mixer"
url="http://www.jpj.net/~trevor/aumix.html"
arch="all"
license="GPL"
depends=
makedepends="ncurses-dev"
source="http://jpj.net/~trevor/aumix/releases/aumix-$pkgver.tar.bz2
	aumix.initd
	"

prepare() { 
	cd "$srcdir"/aumix-$pkgver
}

build() {
	cd "$srcdir"/aumix-$pkgver
	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--without-gtk1 \
		--without-gtk \
		--disable-nls

	make || 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="34f28ae1c94fc5298e8bb2688c4b3a20  aumix-2.9.1.tar.bz2
affaa735ad9b65a540842994caba18fd  aumix.initd"