diff options
author | bartus | 2024-04-09 17:20:00 +0200 |
---|---|---|
committer | bartus | 2024-04-09 17:20:00 +0200 |
commit | bd344ee5adfeae075a2519398d45ce87da945875 (patch) | |
tree | d055add6b6423cdca249671bc1626b3ac5dcffff | |
parent | c221626f23b8e4dde191c4574dbb69f93f7ab93a (diff) | |
download | aur-bd344ee5adfeae075a2519398d45ce87da945875.tar.gz |
Add gimp-date git submodule
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 | ||||
-rw-r--r-- | PKGBUILD.in | 7 |
3 files changed, 16 insertions, 0 deletions
@@ -67,8 +67,10 @@ pkgbase = gimp-git provides = gimp conflicts = gimp source = git+https://gitlab.gnome.org/GNOME/gimp.git + source = gimp-data::git+https://gitlab.gnome.org/GNOME/gimp-data source = linux.gpl sha512sums = SKIP + sha512sums = SKIP sha512sums = 6f33d57f242fa8ce04b65e06a712bd54677306a45b22cb853fbe348089cd4673bd4ed91073074fe067166fe8951c370f8bbbc386783e3ed5170d52e9062666fe pkgname = gimp-git @@ -61,8 +61,10 @@ optdepends=('gutenprint: for sophisticated printing only as gimp has built-in cu 'luajit: LUA scripting support' ) source=('git+https://gitlab.gnome.org/GNOME/gimp.git' + "gimp-data::git+https://gitlab.gnome.org/GNOME/gimp-data" 'linux.gpl') sha512sums=('SKIP' + 'SKIP' '6f33d57f242fa8ce04b65e06a712bd54677306a45b22cb853fbe348089cd4673bd4ed91073074fe067166fe8951c370f8bbbc386783e3ed5170d52e9062666fe') pkgver() { @@ -73,6 +75,11 @@ pkgver() { "$(git -C $_pkgname log --pretty=format:'%h' -n 1)" } +prepare() { + git -C "$srcdir/gimp" config submodule.gimp-data.url "$srcdir/gimp-data" + git -C "$srcdir/gimp" -c protocol.file.allow=always submodule update --init +} + build() { meson "${srcdir}/${_pkgname}"\ "${srcdir}/build"\ diff --git a/PKGBUILD.in b/PKGBUILD.in index 60000797feb8..39e862bf40bb 100644 --- a/PKGBUILD.in +++ b/PKGBUILD.in @@ -61,8 +61,10 @@ optdepends=('gutenprint: for sophisticated printing only as gimp has built-in cu 'luajit: LUA scripting support' ) source=('git+https://gitlab.gnome.org/GNOME/gimp.git' + "gimp-data::git+https://gitlab.gnome.org/GNOME/gimp-data" 'linux.gpl') sha512sums=('SKIP' + 'SKIP' '6f33d57f242fa8ce04b65e06a712bd54677306a45b22cb853fbe348089cd4673bd4ed91073074fe067166fe8951c370f8bbbc386783e3ed5170d52e9062666fe') pkgver() { @@ -73,6 +75,11 @@ pkgver() { "$(git -C $_pkgname log --pretty=format:'%h' -n 1)" } +prepare() { + git -C "$srcdir/gimp" config submodule.gimp-data.url "$srcdir/gimp-data" + git -C "$srcdir/gimp" -c protocol.file.allow=always submodule update --init +} + build() { meson "${srcdir}/${_pkgname}"\ "${srcdir}/build"\ |