updated on Fri Jan 6 00:09:29 UTC 2012
[aur-mirror.git] / goil / PKGBUILD
blob59699a85add6f43a748e300c858de998789b0433
1 pkgname=goil
2 pkgver=svn
3 pkgrel=3
4 pkgdesc="OIL compiler"
5 url="http://trampoline.rts-software.org/"
6 arch=('i686')
7 #depends=('')
8 makedepends=('galgas>=1.8.3')
9 source=("http://galgas.rts-software.org/download/1.8.3/libpm-lf.tar.bz2")
10 md5sums=('63c66115491774d75c9aeef016e3250d') 
11 license="GPL"
13 build() {
14   # Libpm #
15   # Just need to be extracted
17   # Subversion #
18   cd $srcdir
19   svn --username anonymous --password anonymous --no-auth-cache --non-interactive co http://trampoline.rts-software.org/svn/trunk/goil/ || return 1
21   # C++ generating #
22   #msg "C++ generating using galgas..."
23   cd goil/galgas_sources/
24   #rm -Rf GALSGAS_OUTPUT/*
25   #galgas all_goil.ggs
27   # Compiling #
28   msg "Compiling"
29   cd ../makefile_unix/
30   make || return 1
32   # Install #
33   mkdir $pkgdir/usr
34   mkdir $pkgdir/usr/bin
35   cp goil $pkgdir/usr/bin/goil