blob: 3f81ff32a763726965e88b5c22f570fdab6af1db (
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
|
# 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
}
sha512sums="bd063dc9dab8455f467fbe9e4ea1baa5cef914923e66ab5a8fca1e6964cac7851e3755f054bfe41657371e221920fe9a52f9807457996244f4bcd5db4659b21d aumix-2.9.1.tar.bz2
1b7acedcc35217e6ab5dfc2be6c4a684de16db62387da8b56d41a65094b9334384bb10307d39b6ef7030142caa30b0c0dac5be4d2986fc470a62806649fdf69f aumix.initd"
|