updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / lcd-stuff / PKGBUILD
blob650ac3c15ec468f3fc9ccfcdce9c079278fe92f2
1 # Contributor: Bernhard Walle <bernhard@bwalle.de>
2 # AUR Category: system
3 pkgname=lcd-stuff
4 pkgver=0.2.0
5 pkgrel=1
6 pkgdesc="Library to program and control the FTDI USB controller"
7 url="http://lcd-stuff.berlios.de"
8 license="GPL"
9 depends=('curl' 'libetpan' 'libnxml' 'libmrss' 'libmpd')
10 makedepends=('curl' 'libetpan' 'libnxml' 'libmrss' 'libmpd' 'cmake')
11 arch=('i686' 'x86_64')
12 source=(http://download.berlios.de/lcd-stuff/$pkgname-$pkgver.tar.bz2 lcd-stuff)
13 md5sums=('29302f44f1f423d475b5a40cbd795adc'
14          'c777e5848edad2007eee35f445198423')
16 build() {
17   cd $startdir/src/$pkgname-$pkgver
18   [ ! -d build ] && mkdir build
19   cd build
20   cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
21   make
22   make DESTDIR=$startdir/pkg install
23   mkdir -p $startdir/pkg/etc/rc.d
24   install -m 755 $startdir/src/lcd-stuff $startdir/pkg/etc/rc.d