Commit 28148f98 authored by Seblu's avatar Seblu
Browse files

clean alsa-tools


git-svn-id: https://seblu.net/s/archpkg@122 02741741-5192-46b8-8916-7152b19231d9
parent 078aec8f
Loading
Loading
Loading
Loading
+15 −7
Original line number Diff line number Diff line
@@ -4,26 +4,34 @@
pkgname=alsa-tools
pkgver=1.0.24.1
pkgrel=1
pkgdesc="ALSA tools package"
pkgdesc='ALSA tools package'
arch=('i686' 'x86_64')
url="http://alsa-project.org/"
url='http://alsa-project.org/'
license=('GPL2')
depends=('fltk' 'alsa-lib' 'gtk2' 'pygtk')
source=(ftp://ftp.alsa-project.org/pub/tools/$pkgname-$pkgver.tar.bz2)
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
  for f in $(find "$srcdir/$pkgname-$pkgver" -type f -name configure ); do
    [[ -x $f ]] || continue
    cd "${f%/*}"
    [[ qlo10k1 = ${PWD##*/} ]] && continue
    printf "\e[1;32m==> \e[1;37mBuilding ${PWD##*/}\e[0m\n"
    msg2 "Building ${PWD##*/}"
    ./configure --prefix=/usr --x-libraries=/usr/lib
    make
    make "DESTDIR=$pkgdir" install
  done
}

  find $pkgdir -type f -name '*.la' -delete
package() {
  for f in $(find "$srcdir/$pkgname-$pkgver" -type f -name configure ); do
    [[ -x $f ]] || continue
    cd "${f%/*}"
    [[ qlo10k1 = ${PWD##*/} ]] && continue
    msg2 "Installing ${PWD##*/}"
    make "DESTDIR=$pkgdir" install
  done
}

# vim:set ts=2 sw=2 ft=sh et: