updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / asusoled / PKGBUILD
blob2b20b093b910920c67788445d53cfc01983365fb
1 # Maintainer: Karol Maciaszek <karol.maciaszek@gmail.com>
2 # Contributor: Karol Maciaszek <karol.maciaszek@gmail.com>
3 pkgname=asusoled
4 pkgver=1
5 pkgrel=1
6 pkgdesc="Asus LCM Tool (OLED display found in Asus G1)" 
7 url="https://launchpad.net/asusoled/" 
8 license="GPL" 
9 arch=(i686 x86_64)
10 depends=() 
11 makedepends=('bzr' 'cmake')
12 depends=('sdl' 'sdl_image' 'libusb')
13 source=('directory.patch')
14 md5sums=('61ea1cc7f0f4446e63a6f48c709fb3f2')
15 install=$pkgname.install
16 build() { 
17         cd $startdir/src/
18         bzr checkout -r1 http://bazaar.launchpad.net/~agoliveira/asusoled/trunk asusoled
19         rm $startdir/src/asusoled/asusoled
20         patch -p0 < directory.patch
21         cd $startdir/src/asusoled/
22         make
23         install -d $startdir/pkg/usr/bin
24         install -m 755 $startdir/src/asusoled/asusoled $startdir/pkg/usr/bin