summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/alsa-firmware/PKGBUILD
blob: d9c890b1ecd18c572b6dfab62c26d7e26d058cad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $Id: PKGBUILD 79046 2010-04-30 05:38:39Z tpowa $
# Contributor: Jochen Immendörfer <jochen dot immendoerfer at gmail dot com>
# Package Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=alsa-firmware
pkgver=1.0.23
pkgrel=1
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
  make || return 1
  make DESTDIR=$pkgdir install || return 1
  # remove files which conflicts with kernel26-firmware
  rm -rf ${pkgdir}/lib/firmware/ess/maestro3_assp_kernel.fw || return 1
  rm -rf ${pkgdir}/lib/firmware/ess/maestro3_assp_minisrc.fw || return 1
  rm -rf ${pkgdir}/lib/firmware/korg/k1212.dsp || return 1
  rm -rf ${pkgdir}/lib/firmware/sb16/alaw_main.csp || return 1
  rm -rf ${pkgdir}/lib/firmware/sb16/ima_adpcm_capture.csp || return 1
  rm -rf ${pkgdir}/lib/firmware/sb16/ima_adpcm_init.csp || return 1
  rm -rf ${pkgdir}/lib/firmware/sb16/ima_adpcm_playback.csp || return 1
  rm -rf ${pkgdir}/lib/firmware/sb16/mulaw_main.csp || return 1
  rm -rf ${pkgdir}/lib/firmware/yamaha/ds1_ctrl.fw || return 1
  rm -rf ${pkgdir}/lib/firmware/yamaha/ds1_dsp.fw || return 1
  rm -rf ${pkgdir}/lib/firmware/yamaha/ds1e_ctrl.fw || return 1
  rm -rf ${pkgdir}/lib/firmware/yamaha/yss225_registers.bin || return 1
}
md5sums=('e3f755331d6d485f6fd697249b90f877')