updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ktigcc-cvs / PKGBUILD
blob837694407f04cc79dde37f26ec00f767358cbb0e
1 # Contributor: nat1192  <nat1192@gmail.com>
3 pkgname=ktigcc-cvs
4 pkgver=20090525
5 pkgrel=1
6 pkgdesc="an IDE for the tigcc cross-toolchain (Now with KDE4 support)"
7 license=('GPL2')
8 depends=("tigcc" "libticalcs" "kdelibs" "kdebase" "qt4")
9 source=('http://downloads.sourceforge.net/sourceforge/tigcc-linux/ktigcc-completion-data-0.96b08r1-1.tar.bz2' 
10 'ktigcc-20090525.tar.bz2' 'ktigcc.desktop')
11 url="http://tigcc.ticalc.org/linux/"
12 arch=(i686)
13 md5sums=('15b40d46daaaa3d3ca5ef6f295b69bb9'
14          'e553da400b101d73737077fe5e7fb32e'
15          'dc3c3d613c5a83276ec6be67f482c8b1')
16 build() {
17     echo $startdir
18     cd $startdir/src/ktigcc
19     ./configure || return 1
20     make clean
21     make || return 1
22     make INSTALL_ROOT=$startdir/pkg install
24     # Install menu entry
25     install -m 644 -D images/ktigcc.png $startdir/pkg/usr/share/pixmaps/ktigcc.png
26     install -m 644 -D $startdir/ktigcc.desktop $startdir/pkg/usr/share/applications/ktigcc.desktop
27     
28     #Install completion data
29     install -m 644 -D $startdir/src/completion $startdir/pkg`kde4-config --expandvars --install data`/ktigcc/completion