summaryrefslogtreecommitdiff
path: root/GNOME
diff options
context:
space:
mode:
authorkx <kx@radix.pro>2023-12-11 22:42:18 +0300
committerkx <kx@radix.pro>2023-12-11 22:42:18 +0300
commit3c8e19423b2f08e1f6595285095bf96346ec3677 (patch)
treeb4a61f9768bbe7478baffade812356ac168ec41e /GNOME
parentb2374523848279ad6ca0d722bf74688ea14b059e (diff)
downloadsources-3c8e19423b2f08e1f6595285095bf96346ec3677.tar.xz
GNOME: dconf-editor-45.0.1
Diffstat (limited to 'GNOME')
-rw-r--r--GNOME/apps/Makefile1
-rw-r--r--GNOME/apps/dconf-editor/Makefile55
2 files changed, 56 insertions, 0 deletions
diff --git a/GNOME/apps/Makefile b/GNOME/apps/Makefile
index 6a7275d..cd85efa 100644
--- a/GNOME/apps/Makefile
+++ b/GNOME/apps/Makefile
@@ -11,6 +11,7 @@ SUBDIRS := accerciser \
brasero \
cambalache \
cheese \
+ dconf-editor \
devhelp \
evolution \
file-roller \
diff --git a/GNOME/apps/dconf-editor/Makefile b/GNOME/apps/dconf-editor/Makefile
new file mode 100644
index 0000000..4eccc4f
--- /dev/null
+++ b/GNOME/apps/dconf-editor/Makefile
@@ -0,0 +1,55 @@
+#
+# Project Home:
+# ============
+# https://www.gnome.org
+#
+# Repository browse: https://git.gnome.org/browse/dconf-editor
+#
+# Downloads:
+# =========
+# ftp://ftp.gnome.org/pub/GNOME/sources
+# https://download.gnome.org/sources
+#
+
+
+url = https://download.gnome.org/sources
+
+versions = 45.0.1
+
+pkg_name = dconf-editor
+arch_type = tar.xz
+suffixes = $(arch_type)
+
+files = $(foreach suffix, $(suffixes), $(addsuffix .$(suffix), $(addprefix $(pkg_name)-, $(versions))))
+
+tarballs = $(addsuffix .$(arch_type), $(addprefix $(pkg_name)-, $(versions)))
+sha1s = $(addsuffix .sha1sum, $(tarballs))
+
+
+all: $(files) $(sha1s)
+
+
+.PHONY: downloads_clean
+
+$(files):
+ @echo -e "\n======= Downloading '$(pkg_name)' sourses =======\n"
+ @for version in $(versions) ; do \
+ major=`echo $$version | cut -f1 -d'.'` ; \
+ if [ "$$major" -gt "3" ] ; then \
+ major_minor=`echo $$version | sed 's/\([0-9]*\)\([\.].*\)/\1/'` ; \
+ else \
+ major_minor=`echo $$version | sed 's/\([0-9][.0-9][0-9]*\)\([\.].*\)/\1/'` ; \
+ fi ; \
+ for suffix in $(suffixes) ; do \
+ wget -N $(url)/$(pkg_name)/$$major_minor/$(pkg_name)-$$version.$$suffix ; \
+ done ; \
+ done
+
+$(sha1s): %.$(arch_type).sha1sum : %.$(arch_type)
+ @for tarball in $< ; do \
+ echo -e "\n======= Calculation the '$$tarball' sha1sum =======\n" ; \
+ sha1sum --binary $$tarball > $$tarball.sha1sum ; \
+ done
+
+downloads_clean:
+ @rm -f $(files) $(sha1s)