aboutsummaryrefslogtreecommitdiffstats
path: root/testing/asoundconf
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-04-08 23:51:20 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2015-04-08 23:51:20 +0200
commit536cedc4fa1d7118f43603a7cc34e06c0269bb74 (patch)
tree97f52aecbaf00cf36c576f0e4f7423ca8b0caf44 /testing/asoundconf
parent52cdd6464a706f939d813409fd3126edf0c9b1c9 (diff)
downloadaports-536cedc4fa1d7118f43603a7cc34e06c0269bb74.tar.bz2
aports-536cedc4fa1d7118f43603a7cc34e06c0269bb74.tar.xz
testing/asoundconf: new aport
Diffstat (limited to 'testing/asoundconf')
-rw-r--r--testing/asoundconf/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/asoundconf/APKBUILD b/testing/asoundconf/APKBUILD
new file mode 100644
index 0000000000..289dd27218
--- /dev/null
+++ b/testing/asoundconf/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=asoundconf
+pkgver=1.1
+pkgrel=0
+pkgdesc="Get and set configuration parameters in ~/.asoundrc.asoundconf"
+url="https://bitbucket.org/stativ/asoundconf"
+arch="noarch"
+license="GPL"
+depends="python py-gtk"
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc"
+source="$pkgname-${pkgver}.tar.gz::https://bitbucket.org/stativ/asoundconf/get/${pkgver}.tar.gz"
+
+_builddir="$srcdir"/stativ-asoundconf-be67b16b3dd5
+
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ python setup.py build || return 1
+}
+
+package() {
+ cd "$_builddir"
+ python setup.py install \
+ --prefix=/usr \
+ --root="$pkgdir" \
+ --optimize=1 || return 1
+}
+md5sums="02c07306fc58c835018cc844f8a8598f asoundconf-1.1.tar.gz"
+sha256sums="3caff77be4ace9ac2f6c0d0a150aac74476673668d9cb3271397fc535fa22bd2 asoundconf-1.1.tar.gz"
+sha512sums="0e50ce0d21abb098fb40669ca56a43ab86774dd8202055aabd0380806f92ffa5ee096ee2273d4d9c4d4332fdef6a5556f55637cc8e07fbd9a32ba780a15c1776 asoundconf-1.1.tar.gz"