updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / ath3k / PKGBUILD
blob7c6b6ded0597576b1afb6911746954a70fa91de6
1 # Note: Please fill out the license field for your package. If it is unknown,
2 # then please put 'unknown'.
4 # Contributor: Your Name <youremail@domain.com>
5 pkgname=ath3k
6 pkgver=1
7 pkgrel=1
8 pkgdesc="Software to get the bluetooth working on an ASUS motherboard"
9 arch=(i686)
10 url="get://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/ath3k.git"
11 license=('GPL')
12 install=("ath3k.install")
13 provides=(ath3k)
14 source=($pkgname-$pkgver.tar.gz)
15 md5sums=("349ee98a51bcd0db4a9161fa61d56921") #generate with 'makepkg -g'
17 build() {
18   cd "$srcdir/$pkgname"
19   make || return 1
20         mkdir -p $pkgdir/lib/modules/$(uname -r)/ath3k
21         mkdir -p $pkgdir/lib/firmware
22         cp ath3k.ko $pkgdir/lib/modules/$(uname -r)/ath3k/ath3k.ko
23         cp ath3k-1.fw $pkgdir/lib/firmware/ath3k-1.fw
24         #LICENCE data
25         msg "Please go to /lib/$(uname -r)/ath3k and read the licence files"
26         msg "If you do not agree with them please remove the package"
27         cp LICENCES/* $pkgdir/lib/modules/$(uname -r)/ath3k/