1 # Contributor: Patrick Kelly <kameo76890 at gmail dot com>
2 # Contributor: Georgios Tsalikis <aliverius somewhere near tsalikis and a net>
7 pkgdesc="GPS, the GNAT Programming Studio for Ada"
9 url="http://libre.adacore.com/libre/tools/gps"
11 depends=("gcc-ada" "xmlada" "gtkada" "gprbuild")
13 source=(http://netcologne.dl.sourceforge.net/project/gnat-gpl/2011/gps-$pkgver-gpl-src.tgz)
14 md5sums=('dfb91ac7deb7518ecc4a1d41798e1c43')
18 cp $startdir/*.patch $srcdir
19 cd $srcdir/gps-$pkgver-src
21 patch -p0 < ../dump-xref.patch
23 AWK=/usr/bin/nawk PYTHON=/usr/bin/python2 ./configure --prefix=/usr
25 ADA_PROJECT_PATH=/usr/lib/gnat make
27 make -j1 prefix=$pkgdir/usr install