[arch-commits] Commit in moneymanagerex/repos/community-x86_64 (PKGBUILD PKGBUILD)

Jaroslav Lichtblau jlichtblau at archlinux.org
Sat Dec 26 12:35:16 UTC 2020


    Date: Saturday, December 26, 2020 @ 12:35:14
  Author: jlichtblau
Revision: 793012

archrelease: copy trunk to community-x86_64

Added:
  moneymanagerex/repos/community-x86_64/PKGBUILD
    (from rev 793011, moneymanagerex/trunk/PKGBUILD)
Deleted:
  moneymanagerex/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   84 +++++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 49 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-26 12:35:05 UTC (rev 793011)
+++ PKGBUILD	2020-12-26 12:35:14 UTC (rev 793012)
@@ -1,35 +0,0 @@
-# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
-# Contributor: TDY <tdy at gmx.com>
-
-pkgname=moneymanagerex
-pkgver=1.3.3
-pkgrel=3
-pkgdesc="An easy-to-use personal finance suite"
-arch=('x86_64')
-url="http://www.moneymanagerex.org/"
-license=('GPL')
-depends=('wxgtk3' 'webkit2gtk')
-makedepends=('git' 'boost')
-_commit=('2a90484293b5020556d835054285fd77a3ee1150')
-source=(git+https://github.com/moneymanagerex/moneymanagerex.git#commit=${_commit})
-sha256sums=('SKIP')
-
-prepare() {
-  cd "${srcdir}"/$pkgname
-
-  git submodule update --init
-}
-
-build() {
-  cd "${srcdir}"/$pkgname
-
-  ./configure --prefix=/usr --disable-shared --enable-unicode --with-wx-config=/usr/bin/wx-config-gtk3
-  make
-  make po
-}
-
-package() {
-  cd "${srcdir}"/$pkgname
-
-  make DESTDIR="${pkgdir}" install
-}

Copied: moneymanagerex/repos/community-x86_64/PKGBUILD (from rev 793011, moneymanagerex/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-26 12:35:14 UTC (rev 793012)
@@ -0,0 +1,49 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: TDY <tdy at gmx.com>
+# Contributor: Martin Dünkelmann <nc-duenkekl3 at netcologne.de>
+
+pkgname=moneymanagerex
+pkgver=1.3.6
+_commit=e91a566976bb549663c147f6f8e3c5e9bf71b818
+pkgrel=1
+pkgdesc="An easy-to-use personal finance suite"
+arch=('x86_64')
+url="https://github.com/moneymanagerex/moneymanagerex"
+license=('GPL')
+depends=('wxgtk3' 'webkit2gtk')
+makedepends=('boost' 'cmake' 'lsb-release' 'ccache' 'lua' 'git')
+source=($pkgname::git+https://github.com/$pkgname/$pkgname#commit=$_commit)
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --abbrev=0 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+prepare() {
+  cd $pkgname
+
+## clone all submodules
+  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
+}
+
+build() {
+  cd $pkgname/build
+
+  cmake .. \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3
+
+  cmake --build . --target package
+}
+
+package() {
+  cd $pkgname/build
+
+  make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list