Date: Monday, April 24, 2023 @ 07:05:37
Author: eworm
Revision: 475155
get git submodules from source array
Modified:
inkscape/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-24 06:34:22 UTC (rev 475154)
+++ PKGBUILD 2023-04-24 07:05:37 UTC (rev 475155)
@@ -46,8 +46,14 @@
)
#source=("https://media.inkscape.org/dl/resources/file/${pkgname}-${pkgver}.tar.bz2")
-source=("git+https://gitlab.com/inkscape/inkscape.git#tag=${_tag}")
-sha256sums=('SKIP')
+source=("git+https://gitlab.com/inkscape/inkscape.git#tag=${_tag}"
+ 'inkscape-extensions::git+https://gitlab.com/inkscape/extensions.git'
+ 'inkscape-lib2geom::git+https://gitlab.com/inkscape/lib2geom.git'
+ 'inkscape-themes::git+https://gitlab.com/inkscape/themes.git')
+sha256sums=('SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP')
_backports=(
)
@@ -54,7 +60,10 @@
prepare() {
cd "${pkgname}"
- git submodule update --init --recursive
+ git submodule set-url share/extensions ../inkscape-extensions/
+ git submodule set-url src/3rdparty/2geom ../inkscape-lib2geom/
+ git submodule set-url share/themes ../inkscape-themes/
+ git -c protocol.file.allow=always submodule update
local _c
for _c in "${_backports[@]}"; do