updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / snd-aloop / PKGBUILD
blobfa017082ee997fdd52f0acb23f2899d3e3e41365
1 msg "Determining latest snapshot of alsa-driver..."
2 _snapshot=$(curl -s http://www.alsa-project.org/snapshot/files/ \
3         | grep -E -o \<a[^\>]*\>alsa-driver.*$ \
4         | sed 's#<a[^>]*>\([^<]*\).*#\1#' \
5         | tail -n 1)
7 pkgname=snd-aloop
8 _pkgname=alsa-driver
9 pkgver=1.0.23
10 _pkgver=${_snapshot#alsa-driver-*}
11 pkgrel=1
12 pkgdesc="Kernel module for snd-aloop"
13 arch=('i686' 'x86_64')
14 url="http://www.alsa-project.org"
15 depends=('kernel26')
16 license=('GPL')
17 source=("http://www.alsa-project.org/snapshot/files/${_snapshot}")
19 build() {
20   cd ${_pkgname}-${_pkgver}
21   ./configure --with-cards=aloop
22   make || return 1
23   make DESTDIR=$pkgdir install
25   rm -fr $pkgdir/usr
26   rm -fr $pkgdir/lib/modules/2.6.35-ARCH/kernel/sound/acore
28 md5sums=('d02b668cf9f98096267636c7051761db')