Date: Monday, March 25, 2019 @ 22:03:03 Author: arojas Revision: 443501
archrelease: copy trunk to community-staging-x86_64 Added: moneymanagerex/repos/community-staging-x86_64/ moneymanagerex/repos/community-staging-x86_64/PKGBUILD (from rev 443500, moneymanagerex/trunk/PKGBUILD) ----------+ PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) Copied: moneymanagerex/repos/community-staging-x86_64/PKGBUILD (from rev 443500, moneymanagerex/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-03-25 22:03:03 UTC (rev 443501) @@ -0,0 +1,40 @@ +# Maintainer: Jaroslav Lichtblau <svetlemo...@archlinux.org> +# Contributor: TDY <t...@gmx.com> + +pkgname=moneymanagerex +pkgver=1.3.3 +pkgrel=4 +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 + + # Fix build with wxgtk 3.1 + git cherry-pick -n 47acc00d5355aacb1f15654c4c4ebb7080a6710f + git cherry-pick -n f23f4b027f839f3b8a9a3cd21034d2e4d9c6b7d9 +} + +build() { + cd "${srcdir}"/$pkgname + + export LDFLAGS+=" -lwx_gtk3u_webview-3.1" # Fix build with wxgtk 3.1 + ./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 +}