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

prepare() { 
	cd "$srcdir"/aumix-$pkgver
	update_config_sub || return 1
}

build() {
	cd "$srcdir"/aumix-$pkgver
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man \
		--without-gtk1 \
		--without-gtk \
		--disable-nls \
		|| return 1
	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"