aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ncpamixer/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/ncpamixer/APKBUILD')
-rw-r--r--testing/ncpamixer/APKBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/ncpamixer/APKBUILD b/testing/ncpamixer/APKBUILD
new file mode 100644
index 0000000000..039a08de26
--- /dev/null
+++ b/testing/ncpamixer/APKBUILD
@@ -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"