diff options
author | Martin Dünkelmann | 2020-08-23 01:44:51 +0200 |
---|---|---|
committer | Martin Dünkelmann | 2020-08-23 01:44:51 +0200 |
commit | 975e6ffaffeae847efa1b288da051a430f6aca7c (patch) | |
tree | 6d5d4f2605948e1639d4cfbd64ac33f2de8090b2 | |
parent | f869414ac732c1a81b81e846b0f6685bc8932d4d (diff) | |
download | aur-975e6ffaffeae847efa1b288da051a430f6aca7c.tar.gz |
Fixed the versioning and removed the deprecated usage of
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 5 insertions, 10 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 = 2 + pkgrel = 3 url = http://www.moneymanagerex.org/ arch = x86_64 license = GPL @@ -6,7 +6,7 @@ pkgname=moneymanagerex-git _gitname=moneymanagerex pkgver=1.3.5 -pkgrel=2 +pkgrel=3 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/" @@ -20,13 +20,8 @@ conflicts=('moneymanagerex') source=(git+https://github.com/moneymanagerex/moneymanagerex.git#tag=v1.3.5) sha256sums=('SKIP') -pkgver() { - cd "$srcdir/$_gitname" - printf "%s" "$(git describe --long --tag | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g')" -} - prepare() { - cd "$srcdir/$_gitname" + cd "$pkgname" mkdir -p build git submodule update --init # TODO Workaround: https://github.com/moneymanagerex/moneymanagerex/issues/2685 @@ -34,13 +29,13 @@ prepare() { } build() { - cd "$srcdir/$_gitname/build" + cd cd "$pkgname/build" cmake -DCMAKE_BUILD_TYPE=Release -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3 .. cmake --build . --target package } package() { - cd "$srcdir/$_gitname/build" + cd "$pkgname/build" make DESTDIR="${pkgdir}" install } |