updated on Sat Jan 21 04:00:54 UTC 2012
[aur-mirror.git] / g15terminal / PKGBUILD
blob31ec6a0768e0790a8d14d0f6354aa0d6304f1725
1 # Contributor: refujee <refujee@gmail.com>
2 pkgname=g15terminal
3 pkgver=0.1
4 pkgrel=1
5 pkgdesc="Using the Rote library, this project aims to bring a usable terminal to the LCD screens on G15 keyboards."
6 arch=(i686 x86_64)
7 url="http://www.g15tools.com/forum/viewtopic.php?f=12&t=150&sid=930707d9254775e2dbbe58270bd3edba"
8 license=('GPL')
9 depends=(libx11 libg15render g15daemon rote)
10 source=(http://g15terminal.googlecode.com/files/g15terminal.tar.gz)
11 md5sums=('e8c647ba68387033cd51944c73318e9b')
13 build() {
14   cd $startdir/src/$pkgname
15   LDFLAGS="-lg15daemon_client -lg15render -lpthread -lX11 -lrote" CXXFLAGS="-Wno-write-strings"
16   ./configure --prefix=/usr \
17               --sysconfdir=/etc \
18               --localstatedir=/var \
19               --disable-static
21    make || return 1
22    make DESTDIR=${pkgdir} install || return 1