summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Savard2015-12-31 02:26:43 -0500
committerJulien Savard2015-12-31 02:26:43 -0500
commit30174f510c9bb22a623c8043ed3214b4789c8ee1 (patch)
tree2e805eb2f1fb89e2ae1c69cf14a6ec5e96088cd7
downloadaur-30174f510c9bb22a623c8043ed3214b4789c8ee1.tar.gz
First commit
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD41
-rw-r--r--cemu.desktop9
3 files changed, 72 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2f391cdeee4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+# Generated by mksrcinfo v8
+# Thu Dec 31 05:56:20 UTC 2015
+pkgbase = cemu-git
+ pkgdesc = An open-source third-party TI-84 Plus CE / TI-83 Premium CE calculator emulator
+ pkgver = 0.2
+ pkgrel = 1
+ url = https://github.com/MateoConLechuga/CEmu
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ depends = qt5-base
+ depends = qt5-declarative
+ provides = cemu
+ conflicts = cemu
+ source = cemu::git+https://github.com/MateoConLechuga/CEmu
+ source = cemu.desktop
+ md5sums = SKIP
+ md5sums = 3b347a05abc3d1a3a047a68988c659b7
+
+pkgname = cemu-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..66d6964ae55
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Julien Savard <juju at juju2143 dot ca>
+pkgname=cemu-git
+pkgver=0.2
+pkgrel=1
+pkgdesc="An open-source third-party TI-84 Plus CE / TI-83 Premium CE calculator emulator"
+arch=("i686" "x86_64")
+url="https://github.com/MateoConLechuga/CEmu"
+license=('GPL')
+groups=()
+depends=('qt5-base' 'qt5-declarative')
+makedepends=('git') # 'bzr', 'git', 'mercurial' or 'subversion'
+provides=("cemu")
+conflicts=("cemu")
+replaces=()
+backup=()
+options=()
+install=
+source=('cemu::git+https://github.com/MateoConLechuga/CEmu' 'cemu.desktop')
+noextract=()
+md5sums=('SKIP'
+ '3b347a05abc3d1a3a047a68988c659b7')
+
+pkgver() {
+ cd "$srcdir/${pkgname%-git}"
+ printf "%s.r%s.%s" "$(cat CEmu.pro | grep CEMU_VERSION | grep -o '[^=]*$')" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/${pkgname%-git}"
+ qmake-qt5 -r CEmu.pro
+ make
+}
+
+package() {
+ cd "$srcdir/${pkgname%-git}"
+ install -D -m755 "${srcdir}/${pkgname%-git}/CEmu" "$pkgdir/usr/bin/cemu"
+ install -D -m644 "${srcdir}/${pkgname%-git}/README.md" "$pkgdir/usr/share/${pkgname%-git}/README"
+ install -D -m644 "${srcdir}/${pkgname%-git}/LICENSE" "$pkgdir/usr/share/licenses/${pkgname%-git}/LICENSE"
+ install -D -m644 "${srcdir}/${pkgname%-git}/resources/icons/icon.png" "$pkgdir/usr/share/pixmaps/${pkgname%-git}.png"
+ install -D -m644 "${srcdir}/${pkgname%-git}.desktop" "$pkgdir/usr/share/applications/${pkgname%-git}.desktop"
+}
diff --git a/cemu.desktop b/cemu.desktop
new file mode 100644
index 00000000000..2161a6ef0ab
--- /dev/null
+++ b/cemu.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=CEmu
+Comment=An open-source third-party TI-84 Plus CE / TI-83 Premium CE calculator emulator
+Exec=cemu
+Icon=cemu
+StartupNotify=true
+Terminal=false
+Type=Application
+Categories=Education;Science;Math;System;Emulator;