aboutsummaryrefslogtreecommitdiffstats
path: root/main/aumix/APKBUILD
blob: 5111a26cca2419ff439c69ca84890235fcac8880 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=aumix
pkgver=2.9.1
pkgrel=8
pkgdesc="color text mode sound mixer"
url="https://sourceforge.net/projects/aumix/"
arch="all"
license="GPL-2.0-or-later"
makedepends="ncurses-dev linux-headers"
subpackages="$pkgname-doc"
source="https://downloads.sourceforge.net/aumix/$pkgver/aumix-$pkgver.tar.bz2
	gcc-10.patch
	aumix.initd
	"

prepare() {
	default_prepare
	update_config_sub
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man \
		--without-gtk \
		--disable-nls
	make
}

package() {
	make -j1 DESTDIR="$pkgdir" install
	install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/aumix
}

sha512sums="bd063dc9dab8455f467fbe9e4ea1baa5cef914923e66ab5a8fca1e6964cac7851e3755f054bfe41657371e221920fe9a52f9807457996244f4bcd5db4659b21d  aumix-2.9.1.tar.bz2
248ed0bceb2b1030930c89a1d6eace9c43338be80dae5d023bcb131a1666be21984fa2bd814945f8e5683d6e31eeb10bc2cddc6820385ce44e3ae32fdb8da3e9  gcc-10.patch
1b7acedcc35217e6ab5dfc2be6c4a684de16db62387da8b56d41a65094b9334384bb10307d39b6ef7030142caa30b0c0dac5be4d2986fc470a62806649fdf69f  aumix.initd"