1 # Contributor: Katharina Brandl <kathi.brandl@gmx.de>
5 pkgdesc="an eiffel compiler"
7 url="http://tecomp.sourceforge.net"
10 makedepends=(make gcc)
11 source=("http://downloads.sourceforge.net/$pkgname/${pkgname}_${pkgver}.tar.gz")
12 md5sums=('5e1aa19b9560b7d49230ed6cc06404c6')
17 make tecomp || return 1
18 make atecomp || return 1
19 #create directories if not already existent
20 mkdir -p $pkgdir/usr/bin $pkgdir/usr/lib/$pkgname /$pkgdir/usr/share/$pkgname
22 install $srcdir/$pkgname/gen_dir/bin/tecomp $pkgdir/usr/bin/tecomp
23 install $srcdir/$pkgname/gen_dir/bin/atecomp $pkgdir/usr/bin/atecomp
24 #install library to /usr/lib/tecomp
25 cp -r $srcdir/$pkgname/library $pkgdir/usr/lib/$pkgname
26 #install docs and examples to /usr/share/tecomp
27 cp -r $srcdir/$pkgname/examples $srcdir/$pkgname/doc/07_the_eiffel_programming_language/tutorial.txt $srcdir/$pkgname/README $pkgdir/usr/share/$pkgname
30 # vim:set ts=2 sw=2 et: