diff options
author | root <root@rshg054.dnsready.net> | 2012-12-29 02:13:48 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-12-29 02:13:48 -0800 |
commit | 5dd7ed82e788ebad2e920e0f2db7468cc6547cfe (patch) | |
tree | f467412e09912ababcd8fe6c05193d829f514dcd /extra/alsa-firmware/PKGBUILD | |
parent | 3009e8addb4a894329bf8ab3e8fb763361833978 (diff) |
Sat Dec 29 02:10:20 PST 2012
Diffstat (limited to 'extra/alsa-firmware/PKGBUILD')
-rw-r--r-- | extra/alsa-firmware/PKGBUILD | 30 |
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') |