summaryrefslogtreecommitdiff
path: root/extra/alsa-firmware/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/alsa-firmware/PKGBUILD')
-rw-r--r--extra/alsa-firmware/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/extra/alsa-firmware/PKGBUILD b/extra/alsa-firmware/PKGBUILD
new file mode 100644
index 000000000..00df415a4
--- /dev/null
+++ b/extra/alsa-firmware/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 158602 2012-05-05 02:35:11Z dreisner $
+# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
+# Contributor: Jochen Immendörfer <jochen dot immendoerfer at gmail dot com>
+pkgname=alsa-firmware
+pkgver=1.0.25
+pkgrel=2
+pkgdesc="ALSA firmware package"
+arch=('i686' 'x86_64')
+url="http://alsa-project.org/"
+license=('GPL')
+source=(ftp://ftp.alsa-project.org/pub/firmware/$pkgname-$pkgver.tar.bz2)
+options=(!strip)
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ ./configure --prefix=/usr --with-hotplug-dir=/usr/lib/firmware
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
+ # remove files which conflicts with linux-firmware
+ rm -rf ${pkgdir}/usr/lib/firmware/{ess,korg,sb16,yamaha}
+ # remove broken symlinks (broken upstream)
+ rm -rf ${pkgdir}/usr/lib/firmware/turtlebeach
+ # remove empty dir
+ rm -rf ${pkgdir}/usr/bin
+}
+md5sums=('f1939da45b162c83a726c54a470ef139')