summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjuju21432017-09-20 12:59:28 -0400
committerjuju21432017-09-20 13:00:52 -0400
commit2c5a53d149e042bdbbd6c8994b590bc472a53eac (patch)
tree6f6cadd4dee885742767e0e81112adf36f614637
parent30174f510c9bb22a623c8043ed3214b4789c8ee1 (diff)
downloadaur-2c5a53d149e042bdbbd6c8994b590bc472a53eac.tar.gz
Update to 0.9dev
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD14
2 files changed, 8 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2f391cdeee4..759eec0963a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@
# 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
+ pkgver = 0.9dev
pkgrel = 1
url = https://github.com/MateoConLechuga/CEmu
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 66d6964ae55..d031ab79a00 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Julien Savard <juju at juju2143 dot ca>
pkgname=cemu-git
-pkgver=0.2
+pkgver=0.9dev
pkgrel=1
pkgdesc="An open-source third-party TI-84 Plus CE / TI-83 Premium CE calculator emulator"
arch=("i686" "x86_64")
@@ -21,21 +21,21 @@ 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)"
+ 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#_$$GIT_VERSION##g')" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
- cd "$srcdir/${pkgname%-git}"
+ cd "$srcdir/${pkgname%-git}/gui/qt"
qmake-qt5 -r CEmu.pro
make
}
package() {
- cd "$srcdir/${pkgname%-git}"
- install -D -m755 "${srcdir}/${pkgname%-git}/CEmu" "$pkgdir/usr/bin/cemu"
+ cd "$srcdir/${pkgname%-git}/gui/qt"
+ install -D -m755 "${srcdir}/${pkgname%-git}/gui/qt/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}/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"
}