updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / gnat-gps / PKGBUILD
blob621d002c4fffbb0326fc476ca5f87bd98cf90734
1 # Contributor: Patrick Kelly <kameo76890 at gmail dot com>
2 # Contributor:  Georgios  Tsalikis <aliverius somewhere near tsalikis and a net>
4 pkgname=gnat-gps
5 pkgver=5.0.1
6 pkgrel=2
7 pkgdesc="GPS, the GNAT Programming Studio for Ada"
8 arch=('i686' 'x86_64')
9 url="http://libre.adacore.com/libre/tools/gps"
10 license=('GPL')
11 depends=("gcc-ada" "xmlada" "gtkada" "gprbuild")
12 builddepends=("nawk")
13 source=(http://netcologne.dl.sourceforge.net/project/gnat-gpl/2011/gps-$pkgver-gpl-src.tgz)
14 md5sums=('dfb91ac7deb7518ecc4a1d41798e1c43')
16 build() {
17         
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 
26   
27   make -j1 prefix=$pkgdir/usr install