diff options
author | root <root@rshg054.dnsready.net> | 2011-11-29 23:14:46 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-11-29 23:14:46 +0000 |
commit | 946f0c9fe48dfb648a8a0be065e92f237ce210fd (patch) | |
tree | 13387ae15c5ab9a50acdaa6ab02a076319c19047 /community/alsa-tools | |
parent | 83c3c42a38bda36bdc56d594318958bc4cfd9b32 (diff) |
Tue Nov 29 23:14:46 UTC 2011
Diffstat (limited to 'community/alsa-tools')
-rw-r--r-- | community/alsa-tools/PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/community/alsa-tools/PKGBUILD b/community/alsa-tools/PKGBUILD new file mode 100644 index 000000000..1e097048e --- /dev/null +++ b/community/alsa-tools/PKGBUILD @@ -0,0 +1,40 @@ +# $Id: PKGBUILD 59642 2011-11-28 23:44:29Z seblu $ +#Maintainer: Sebastien Luttringer <seblu+arch@seblu.net> +#Contributor: Jochen Immend�rfer <jochen dot immendoerfer at gmail dot com> + +pkgname=alsa-tools +pkgver=1.0.24.1 +pkgrel=1 +pkgdesc='ALSA tools package' +arch=('i686' 'x86_64') +url='http://alsa-project.org/' +license=('GPL2') +depends=('fltk' 'alsa-lib' 'gtk2') +options=('!libtool') +source=("ftp://ftp.alsa-project.org/pub/tools/$pkgname-$pkgver.tar.bz2") +md5sums=('08fe93a12006093e590d7ecc02b119dd') + +build() { + for f in $(find "$srcdir/$pkgname-$pkgver" -type f -name configure ); do + [[ -x $f ]] || continue + cd "${f%/*}" + [[ qlo10k1 = ${PWD##*/} ]] && continue + [[ hwmixvolume = ${PWD##*/} ]] && continue + msg2 "Building ${PWD##*/}" + ./configure --prefix=/usr --x-libraries=/usr/lib + make + done +} + +package() { + for f in $(find "$srcdir/$pkgname-$pkgver" -type f -name configure ); do + [[ -x $f ]] || continue + cd "${f%/*}" + [[ qlo10k1 = ${PWD##*/} ]] && continue + [[ hwmixvolume = ${PWD##*/} ]] && continue + msg2 "Installing ${PWD##*/}" + make "DESTDIR=$pkgdir" install + done +} + +# vim:set ts=2 sw=2 ft=sh et: |