2020-05-31 00:15:33 +02:00
|
|
|
# Description: ncurses Pulseaudio mixer
|
|
|
|
# URL: https://github.com/fulhax/ncpamixer
|
2020-07-10 11:38:42 +00:00
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2020-05-31 00:15:33 +02:00
|
|
|
# Depends on: cmake ncurses pulseaudio
|
|
|
|
|
|
|
|
name=ncpamixer
|
2020-09-15 22:08:38 +00:00
|
|
|
version=1.3.3.1
|
2020-05-31 00:15:33 +02:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/fulhax/ncpamixer/archive/$version/$name-$version.tar.gz
|
2020-05-31 00:26:13 +02:00
|
|
|
$name.1)
|
2020-05-31 00:15:33 +02:00
|
|
|
|
|
|
|
build() {
|
2020-05-31 00:26:13 +02:00
|
|
|
cmake -S$name-$version/src -Bbuild -GNinja \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
|
|
cmake --build build
|
2020-07-08 13:01:36 +00:00
|
|
|
DESTDIR=$PKG cmake --install build
|
2020-05-31 00:26:13 +02:00
|
|
|
install -Dm644 $SRC/$name.1 $PKG/usr/share/man/man1/$name.1
|
2020-05-31 00:15:33 +02:00
|
|
|
}
|