updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / stk11xx / PKGBUILD
blob72a2f176577447858a4a011c6d88b8a375353cb6
1 # Contributor: Karol Maciaszek <karol.maciaszek@czystybeton.pl>
2 pkgname=stk11xx
3 pkgver=2.1.0
4 pkgrel=1
5 pkgdesc="Syntek DC-1125 Camera Driver (integrated camera in Asus laptops)" 
6 url="http://syntekdriver.sourceforge.net" 
7 license="GPL" 
8 arch=(i686 x86_64)
9 depends=('kernel26>=2.6.29') 
10 makedepends=('ctags')
11 source=("http://switch.dl.sourceforge.net/sourceforge/syntekdriver/$pkgname-$pkgver.tar.gz")
12 md5sums=('654a8f089e4cef3eac9d343b112fa7e3')
13 install=$pkgname.install
14 build() { 
15         cd $startdir/src/$pkgname-$pkgver || return 1
16 #       patch $startdir/src/$pkgname/Makefile.standalone $startdir/kver.patch
17         make -f Makefile.standalone || return 1
18         install -d $startdir/pkg/lib/modules/`uname -r`/kernel/drivers/media/video
19         install -m 644 $startdir/src/$pkgname-$pkgver/stk11xx.ko $startdir/pkg/lib/modules/`uname -r`/kernel/drivers/media/video
20         install -d $startdir/pkg/usr/share/$pkgname
21         install -m 644 $startdir/src/$pkgname-$pkgver/README $startdir/pkg/usr/share/$pkgname