summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjuju21432020-06-13 14:49:52 -0400
committerjuju21432020-06-13 14:49:52 -0400
commitcfdd4fd2bd87fe30a6f9908ac3b731a6664a7e4c (patch)
treef8ad001db464448ae40223781b97be02a43570fe
parent29d9b554cec02a1d17dcebb696a7e2770a511cdc (diff)
downloadaur-cfdd4fd2bd87fe30a6f9908ac3b731a6664a7e4c.tar.gz
Update ticemu
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD69
2 files changed, 43 insertions, 47 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b649db1c87e..c615611889a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,19 @@
pkgbase = ticemu-git
- pkgdesc = An open-source third-party TI-84 Plus CE / TI-83 Premium CE calculator emulator
- pkgver = 2.0dev.r2073.fd0b11d9
+ pkgdesc = Third-party TI-84 Plus CE / TI-83 Premium CE emulator, focused on developer features
+ pkgver = 1.3.r29.g4f8e0406
pkgrel = 1
- url = https://github.com/CE-Programming/CEmu
- arch = i686
- arch = x86_64
+ url = https://ce-programming.github.io/CEmu/
+ arch = any
license = GPL
makedepends = git
depends = qt5-base
- depends = qt5-declarative
- provides = ticemu
- conflicts = ticemu
- source = ticemu::git+https://github.com/CE-Programming/CEmu
- source = ticemu.desktop
+ depends = libarchive
+ source = ticemu-git::git+https://github.com/CE-Programming/CEmu.git
+ source = git+https://github.com/CE-Programming/zdis.git
+ source = git+https://github.com/adriweb/tivars_lib_cpp.git
+ md5sums = SKIP
+ md5sums = SKIP
md5sums = SKIP
- md5sums = c575a2907d353a7de6813004daf5fae9
pkgname = ticemu-git
diff --git a/PKGBUILD b/PKGBUILD
index 6451563eb58..6924676fed7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,44 +1,41 @@
-# Maintainer: Julien Savard <juju at juju2143 dot ca>
+# Maintainer: Julien Savard <juju@juju2143.ca>
+# Contributor: Nathaniel van Diepen <eeems@eeems.codes>
+
pkgname=ticemu-git
-pkgver=2.0dev.r2073.fd0b11d9
+pkgver=1.3.r29.g4f8e0406
+pkgver() {
+ cd "$srcdir/$pkgname"
+ if git describe --tags > /dev/null 2>&1;then
+ git describe --tags --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g;s/v//';
+ else
+ date +%Y%m%d;
+ fi;
+}
+url='https://ce-programming.github.io/CEmu/'
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/CE-Programming/CEmu"
-license=('GPL')
-groups=()
-depends=('qt5-base' 'qt5-declarative')
makedepends=('git')
-provides=("ticemu")
-conflicts=("ticemu")
-replaces=()
-backup=()
-options=()
-install=
-source=('ticemu::git+https://github.com/CE-Programming/CEmu' 'ticemu.desktop')
-noextract=()
-md5sums=('SKIP'
- 'c575a2907d353a7de6813004daf5fae9')
-
-pkgver() {
- cd "$srcdir/${pkgname%-git}/gui/qt"
- printf "%s.r%s.%s" "$(cat CEmu.pro | grep 'CEMU_VERSION =' | grep -o '[^=]*$' | tail -n1 |sed 's# ##g'|sed 's#^v##g')" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+depends=('qt5-base' 'libarchive')
+pkgdesc='Third-party TI-84 Plus CE / TI-83 Premium CE emulator, focused on developer features'
+license=('GPL')
+arch=('any')
+source=("$pkgname::git+https://github.com/CE-Programming/CEmu.git"
+ "git+https://github.com/CE-Programming/zdis.git"
+ "git+https://github.com/adriweb/tivars_lib_cpp.git")
+prepare(){
+ cd "$srcdir/$pkgname/gui/qt"
+ git submodule init
+ git config submodule."core/debug/zdis".git.url $srcdir/zdis
+ git config submodule."gui/qt/tivars_lib_cpp".git.url $srcdir/tivars_lib_cpp
+ git submodule update
}
-
build() {
- cd "$srcdir/${pkgname%-git}"
- git submodule init
- git submodule update
- cd "$srcdir/${pkgname%-git}/gui/qt"
- qmake-qt5 -r CEmu.pro
- make
+ cd "$srcdir/$pkgname/gui/qt"
+ qmake -r CEmu.pro "PREFIX=$pkgdir/usr"
+ make
}
-
package() {
- cd "$srcdir/${pkgname%-git}/gui/qt"
- install -D -m755 "${srcdir}/${pkgname%-git}/gui/qt/CEmu" "$pkgdir/usr/bin/ticemu"
- 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}/gui/qt/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"
+ install -Dm644 "$srcdir/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ cd "$srcdir/$pkgname/gui/qt"
+ make install
}
+md5sums=('SKIP' 'SKIP' 'SKIP')