Commit 536cedc4 authored by Carlo Landmeter's avatar Carlo Landmeter

testing/asoundconf: new aport

parent 52cdd646
# 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"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment