summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlec S2015-06-10 00:14:44 -0500
committerAlec S2015-06-10 00:14:44 -0500
commit5b5551fc49a430c19ce233b1a2b191ac2b278996 (patch)
treed437bbbdcdbe7b0e1300830ed71e027554ab1b80
downloadaur-5b5551fc49a430c19ce233b1a2b191ac2b278996.tar.gz
Initial import
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD31
-rw-r--r--tilem.install4
3 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8bd9a142fd7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = tilem
+ pkgdesc = TI calculator emulator.
+ pkgver = 2.0
+ pkgrel = 1
+ url = http://lpg.ticalc.org/prj_tilem/index.html
+ install = tilem.install
+ arch = i686
+ arch = x86_64
+ license = GPL
+ depends = gtk2>=2.4
+ depends = libticalcs
+ source = http://downloads.sourceforge.net/tilem/tilem-2.0.tar.bz2
+ md5sums = 44c4c671bcdaf3d1e1c27c724a1e1857
+
+pkgname = tilem
+
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
+}
+
diff --git a/tilem.install b/tilem.install
new file mode 100644
index 00000000000..5a9b5edbee1
--- /dev/null
+++ b/tilem.install
@@ -0,0 +1,4 @@
+post_install() {
+ update-desktop-database /usr/share/applications
+ update-mime-database /usr/share/mime
+}