testing/ncpamixer: new aport

This commit is contained in:
Luca Weiss 2019-12-31 12:13:24 +01:00 committed by Leo
parent ed3f8db5fb
commit f4a255eb1b

View File

@ -0,0 +1,25 @@
# Contributor: Luca Weiss <luca@z3ntu.xyz>
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
pkgname=ncpamixer
pkgver=1.3.3
pkgrel=0
pkgdesc="ncurses PulseAudio Mixer"
url="https://github.com/fulhax/ncpamixer"
arch="all"
license="MIT"
makedepends="cmake pulseaudio-dev ncurses-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/fulhax/ncpamixer/archive/$pkgver.tar.gz"
options="!check" # no tests
build() {
cmake "$builddir"/src \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
DESTDIR="$pkgdir" make install
}
sha512sums="f86fe4a8c3e505399e4eae831ded56dffbf0dc00f4392873a90e6dac10f8964becba65dad2ddcee128de636635a488fb9769a10909c2f7e1202d69d016358da6 ncpamixer-1.3.3.tar.gz"