# Maintainer: Natanael Copa pkgname=aumix pkgver=2.9.1 pkgrel=9 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"