1 # Contributor: mickael9 <mickael9 at gmail dot com>
6 pkgdesc="TI calculator emulator."
8 url="http://lpg.ticalc.org/prj_tilem/index.html"
10 depends=('gtk2>=2.4' libticables)
12 source=(http://downloads.sourceforge.net/tilem/$pkgname-$pkgver.tar.gz)
13 md5sums=('f78471d940e7991eb52ff5e2f3386123')
16 cd "$srcdir/$pkgname-$pkgver"
17 mkdir -p "$pkgdir/usr/bin"
19 ./configure --prefix=/usr || return 1
21 sed -e "5s/ifdef/ifndef/" -i src/$pkgname/core/dep/link.h || return 1
24 make install prefix="$pkgdir/usr" || return 1
26 chmod +r "$pkgdir/usr/bin/tilem"