aboutsummaryrefslogtreecommitdiffstats
path: root/testing/asoundconf/APKBUILD
blob: 289dd272186bcd160a2b887f5a8a1e9f2bb58149 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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"