updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gtkada / PKGBUILD
blobd3735e57c7cdbc19015271ebd7f6b9a263a815c0
1 # Contributor: Patrick Kelly <kameo76890 at gmail dot com>
2 # Contributor:  Georgios  Tsalikis <aliverius somewhere near tsalikis and a net>
3 # Contributor: Julian Leyh <julian@vgai.de>
5 pkgname=gtkada
6 pkgver=2.18.0
7 pkgrel=3
8 pkgdesc="GtkAda is a Gtk2+ binding for Ada using the OOP and other features of this programming language"
9 arch=('i686' 'x86_64')
10 url="http://libre.adacore.com/libre/tools/GtkAda/"
11 license=('GPL')
12 depends=("gcc-ada" "gtk2")
13 source=(http://sourceforge.net/projects/gnat-gpl/files/2011/$pkgname-gpl-$pkgver-src.tgz/download
14         opengl-fix.patch)
15 md5sums=('f5f9c8cb540efd4b261d4914b3410433'
16          'aed777b79514a91a51aae4456e2cc2ee')
18 build() {
19   cd "$srcdir/$pkgname-gpl-$pkgver-src"
21   patch -Np0 -i "$srcdir/opengl-fix.patch"
23   ./configure --prefix=/usr
24   make -j1  # It doesn't build with -jn where n>1
27 package() {
28   cd $srcdir/$pkgname-gpl-$pkgver-src
29   make -j1 prefix=$pkgdir/usr install