blob: f4a57f76fd54555176dcc75d3ce7e90205051f67 (
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
44
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=asoundconf
pkgver=1.2
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=""
install=""
subpackages="$pkgname-doc"
source="$pkgname-${pkgver}.tar.gz::https://bitbucket.org/stativ/$pkgname/get/${pkgver}.tar.gz"
_builddir="$srcdir"/stativ-$pkgname-01a1f5320b0a
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="aa12135497217f248e70c6aee286f453 asoundconf-1.2.tar.gz"
sha256sums="55915ebfb6682b05d6706d70beba4359424fd7567b7b6edc1ad0b6f0686ff22b asoundconf-1.2.tar.gz"
sha512sums="16b0159564279b44cb3e1ac64b9cd4a5da0abc35a99a70672011ae154fb7f263d38ef08ce81d6b5ad6d813f91f2645e2868e2dedd0dccf575a7313802e5cbb87 asoundconf-1.2.tar.gz"
|