diff options
author | Martin Dünkelmann | 2020-11-28 10:15:19 +0100 |
---|---|---|
committer | Martin Dünkelmann | 2020-11-28 10:15:19 +0100 |
commit | af7d25ece1a332e456bf2cbced8340ed87d10f68 (patch) | |
tree | 1461623d9d1c4e06abb5568fb603f5d32e172fe1 | |
parent | a08f4469e03dc3bad819dbad4edcc1947315eae3 (diff) | |
download | aur-af7d25ece1a332e456bf2cbced8340ed87d10f68.tar.gz |
Checkout the newest tag except nightly
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = moneymanagerex-git pkgdesc = MoneyManagerEx is an easy-to-use personal finance suite. This package will always point to the newest stable version. pkgver = 1.3.5 - pkgrel = 6 + pkgrel = 7 url = http://www.moneymanagerex.org/ arch = x86_64 license = GPL @@ -5,7 +5,7 @@ pkgname=moneymanagerex-git pkgver=1.3.5 -pkgrel=6 +pkgrel=7 pkgdesc="MoneyManagerEx is an easy-to-use personal finance suite. This package will always point to the newest stable version." arch=('x86_64') url="http://www.moneymanagerex.org/" @@ -26,8 +26,9 @@ pkgver() { prepare() { cd "${pkgname%-git}" - mkdir -p build + git checkout tags/$(git describe --abbrev=0 | sed -E 's/([^-]*-g)/r\1/;s/-/./g') git submodule update --init + mkdir -p build # TODO Workaround: https://github.com/moneymanagerex/moneymanagerex/issues/2685 sed -i "s/luaL_checkint(/luaL_checkinteger(/g" ./3rd/LuaGlue/include/LuaGlue/LuaGlueApplyTuple.h } |