summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjuju21432020-06-13 20:14:13 -0400
committerjuju21432020-06-13 20:14:13 -0400
commit9f55f8c012367b7dad7829a67aae9de6a8d165d9 (patch)
tree8341b8168b923e539ae22a85eb881706c4e22ad2
parentcfdd4fd2bd87fe30a6f9908ac3b731a6664a7e4c (diff)
downloadaur-9f55f8c012367b7dad7829a67aae9de6a8d165d9.tar.gz
Update ticemu-git again
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD27
2 files changed, 18 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c615611889a..b387c375fd4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
pkgbase = ticemu-git
pkgdesc = Third-party TI-84 Plus CE / TI-83 Premium CE emulator, focused on developer features
pkgver = 1.3.r29.g4f8e0406
- pkgrel = 1
+ pkgrel = 2
url = https://ce-programming.github.io/CEmu/
- arch = any
+ arch = x86_64
license = GPL
makedepends = git
depends = qt5-base
diff --git a/PKGBUILD b/PKGBUILD
index 6924676fed7..c9605a72e94 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,26 +3,28 @@
pkgname=ticemu-git
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;
-}
+pkgrel=2
url='https://ce-programming.github.io/CEmu/'
-pkgrel=1
makedepends=('git')
depends=('qt5-base' 'libarchive')
pkgdesc='Third-party TI-84 Plus CE / TI-83 Premium CE emulator, focused on developer features'
license=('GPL')
-arch=('any')
+arch=('x86_64')
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")
+md5sums=('SKIP' 'SKIP' 'SKIP')
+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;
+}
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
@@ -30,12 +32,15 @@ prepare(){
}
build() {
cd "$srcdir/$pkgname/gui/qt"
+
qmake -r CEmu.pro "PREFIX=$pkgdir/usr"
make
}
package() {
install -Dm644 "$srcdir/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 "$srcdir/$pkgname/gui/qt/resources/linux/cemu.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
+ install -Dm644 "$srcdir/$pkgname/gui/qt/resources/icons/linux/cemu-512x512.png" "$pkgdir/usr/share/pixmaps/cemu.png"
+
cd "$srcdir/$pkgname/gui/qt"
make install
}
-md5sums=('SKIP' 'SKIP' 'SKIP')