summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAlec S2015-06-10 00:14:44 -0500
committerAlec S2015-06-10 00:14:44 -0500
commit5b5551fc49a430c19ce233b1a2b191ac2b278996 (patch)
treed437bbbdcdbe7b0e1300830ed71e027554ab1b80 /PKGBUILD
downloadaur-tilem.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..19346c337f6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: allonsy <linuxbash8@gmail.com>
+# Contributor: mickael9 <mickael9 at gmail dot com>
+
+pkgname=tilem
+pkgver=2.0
+pkgrel=1
+pkgdesc="TI calculator emulator."
+arch=(i686 x86_64)
+url="http://lpg.ticalc.org/prj_tilem/index.html"
+license=(GPL)
+depends=('gtk2>=2.4' libticalcs)
+makedepends=()
+install='tilem.install'
+source=(http://downloads.sourceforge.net/tilem/$pkgname-$pkgver.tar.bz2)
+md5sums=('44c4c671bcdaf3d1e1c27c724a1e1857')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr LIBS="-lm"
+
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make install prefix="$pkgdir/usr"
+ find $pkgdir/usr/share/mime -maxdepth 1 -not -type d -exec rm {} \;
+ rm $pkgdir/usr/share/applications/mimeinfo.cache
+}
+