updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / alsa-driver.hda-intel.hda-codec-realtek-git / PKGBUILD
blob2f93382ce0931b8fe7162cbf62e6271ebb77cce7
1 # Syco <SycoLTH at gmail dot com>
3 pkgname=alsa-driver.hda-intel.hda-codec-realtek-git
4 _pkgname=alsa-driver-unstable
5 pkgver=1.0
6 pkgrel=0
7 pkgdesc="An alternative implementation of Linux sound support"
8 arch=('i686' 'x86_64')
9 conflicts=('alsa-driver')
10 provides=('alsa-driver')
11 install='alsa-driver.install'
12 url="http://www.alsa-project.org"
13 license=('GPL')
14 makedepends=('wget' 'make' 'tar' 'linux-headers')
15 options=('!libtool')
17 build() {
18     wget -c http://ftp.riken.go.jp/Linux/kernel/people/tiwai/snapshot/alsa-driver-unstable-snapshot.tar.bz2
20     tar -xf alsa-driver-unstable-snapshot.tar.bz2
21     k_updates=${pkgdir}/lib/modules/$(uname -r)/updates
22     mkdir -p ${k_updates}
23     cd ${srcdir}/${_pkgname}
24     ./configure --with-cards=hda-intel --with-card-options=hda-codec-realtek
25     make || return 1
26     install -D -m644 modules/*.ko ${k_updates} || return 1