blob: d4d81363117188b00b7f7a95d552997f5319e7c2 (
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
48
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=aumix
pkgver=2.8
pkgrel=3
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/aumix-$pkgver.tar.bz2
aumix-2.8-mute.patch
aumix-2.8-nohome.patch
aumix-2.8-save_load.patch
aumix.initd
"
prepare() {
cd "$srcdir"/aumix-$pkgver
for i in ../*.patch; do
msg "Applying $i..."
patch -p1 < $i || return 1
done
sed -i -e '/USE_NLS=yes/d' configure || return 1
}
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="dc3fc7209752207c23e7c94ab886b340 aumix-2.8.tar.bz2
3611c0372870a0ad67630231fe576e32 aumix-2.8-mute.patch
6c8d691beb495257d8309e58c127acd2 aumix-2.8-nohome.patch
113377f0f69925467a5a5b633a78160c aumix-2.8-save_load.patch
affaa735ad9b65a540842994caba18fd aumix.initd"
|