aboutsummaryrefslogtreecommitdiffstats
path: root/main/aumix/APKBUILD
blob: 510a108d23b021e1981203024cfa2b6a1cb294c5 (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
42
43
44
45
46
47
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=aumix
pkgver=2.9.1
pkgrel=6
pkgdesc="A color text mode sound mixer"
url="http://www.jpj.net/~trevor/aumix.html"
arch="all"
license="GPL-2.0-or-later"
depends=""
makedepends="ncurses-dev linux-headers"
subpackages="$pkgname-doc"
source="http://jpj.net/~trevor/aumix/releases/aumix-$pkgver.tar.bz2
	aumix.initd
	"

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

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man \
		--without-gtk1 \
		--without-gtk \
		--disable-nls \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	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
4fa13bd11d00379e38b4d90db33efe39  aumix.initd"
sha256sums="d2ce43d532ef75072c8d4e7922e3bc06be6d97765a508d9ceb0d1766bbe70e29  aumix-2.9.1.tar.bz2
f5780f05024c9ae66807606703a9a2fd00b4afddf42dcfe39ae57c7154b0aaf2  aumix.initd"
sha512sums="bd063dc9dab8455f467fbe9e4ea1baa5cef914923e66ab5a8fca1e6964cac7851e3755f054bfe41657371e221920fe9a52f9807457996244f4bcd5db4659b21d  aumix-2.9.1.tar.bz2
1b7acedcc35217e6ab5dfc2be6c4a684de16db62387da8b56d41a65094b9334384bb10307d39b6ef7030142caa30b0c0dac5be4d2986fc470a62806649fdf69f  aumix.initd"