diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD index 639fc53..6de1984 100644 --- a/trunk/PKGBUILD +++ b/trunk/PKGBUILD @@ -11,9 +11,32 @@ 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') +makedepends=('cmake' 'rapidjson' 'lsb-release' 'ccache' 'lua' 'git') +source=($pkgname::git+https://github.com/$pkgname/$pkgname#commit=$_commit + git+https://github.com/moneymanagerex/LuaGlue.git + git+https://github.com/moneymanagerex/html-template.git + git+https://github.com/FVANCOP/ChartNew.js.git + git+https://github.com/moneymanagerex/database + git+https://github.com/Tencent/rapidjson + git+https://github.com/utelle/wxsqlite3.git + git+https://github.com/lua/lua.git + git+https://github.com/apexcharts/apexcharts.js.git + git+https://github.com/sammycage/lunasvg.git + git+https://github.com/moneymanagerex/themes.git + git+https://github.com/fmtlib/fmt +) +sha256sums=('SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP') pkgver() { cd $pkgname @@ -22,9 +45,19 @@ pkgver() { prepare() { cd $pkgname - -## clone all submodules - git submodule update --init + git submodule init + git config submodule.3rd/LuaGlue.url "${srcdir}"/LuaGlue + git config submodule.3rd/cgitemplate.url "${srcdir}"/html-template + git config submodule.3rd/ChartNew.js.url "${srcdir}"/ChartNew.js + git config submodule.database.url "${srcdir}"/database + git config submodule.3rd/rapidjson.url "${srcdir}"/rapidjson + git config submodule.3rd/wxsqlite3.url "${srcdir}"/wxsqlite3 + git config submodule.3rd/lua.url "${srcdir}"/lua + git config submodule.3rd/apexcharts.js.url "${srcdir}"/apexcharts.js + git config submodule.3rd/lunasvg.url "${srcdir}"/lunasvg + git config submodule.themes.url "${srcdir}"/themes + git config submodule.3rd/fmt.url "${srcdir}"/fmt + git submodule update mkdir -p build