summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkx <kx@radix.pro>2024-01-21 04:25:25 +0300
committerkx <kx@radix.pro>2024-01-21 04:25:25 +0300
commitf538fec4adcbadc9c366ed6ba33af0358756f342 (patch)
tree691e9f94ff867936169046aa7e94b4cbde8a7848
parent1402f65755692cee247bb75cfdacda1f95f63ea6 (diff)
downloadsources-f538fec4adcbadc9c366ed6ba33af0358756f342.tar.xz
gimp-help-2.10.34
-rw-r--r--packages/x/Makefile1
-rw-r--r--packages/x/gimp-help/Makefile39
2 files changed, 40 insertions, 0 deletions
diff --git a/packages/x/Makefile b/packages/x/Makefile
index 0d12775..d068575 100644
--- a/packages/x/Makefile
+++ b/packages/x/Makefile
@@ -26,6 +26,7 @@ SUBDIRS := Vulkan \
gegl \
geoclue \
gimp \
+ gimp-help \
gimp3 \
glew \
glu \
diff --git a/packages/x/gimp-help/Makefile b/packages/x/gimp-help/Makefile
new file mode 100644
index 0000000..5f32d74
--- /dev/null
+++ b/packages/x/gimp-help/Makefile
@@ -0,0 +1,39 @@
+#
+# Project Home:
+# ============
+# https://docs.gimp.org/
+#
+# Downloads:
+# =========
+# https://ftp.gimp.org/pub/gimp/help/
+#
+
+url = https://ftp.gimp.org/pub/gimp/help
+
+versions = 2.10.34
+
+pkgname = gimp-help
+suffix = tar.bz2
+
+tarballs = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
+sha1s = $(addsuffix .sha1sum, $(tarballs))
+
+
+all: $(tarballs) $(sha1s)
+
+.PHONY: downloads_clean
+
+$(tarballs):
+ @echo -e "\n======= Downloading source tarballs =======\n"
+ @for tarball in $(tarballs) ; do \
+ wget -N $(url)/$$tarball ; \
+ done
+
+$(sha1s): %.$(suffix).sha1sum : %.$(suffix)
+ @for tarball in $< ; do \
+ echo -e "\n======= Calculation the '$$tarball' sha1sum =======\n" ; \
+ sha1sum --binary $$tarball > $$tarball.sha1sum ; \
+ done
+
+downloads_clean:
+ @rm -rf $(tarballs) $(sha1s)