author: kx <kx@radix.pro> 2023-12-23 22:06:30 +0300
committer: kx <kx@radix.pro> 2023-12-23 22:06:30 +0300
commit: 21d7731a3aad5c159fe75d1549e4f577c10ef133
parent: 9fa7e30353b4f53f9532d6836cd86e2cfb5fd92a
Commit Summary:
Diffstat:
3 files changed, 47 insertions, 0 deletions
diff --git a/packages/x/Makefile b/packages/x/Makefile
index bebc5eb..1d50679 100644
--- a/packages/x/Makefile
+++ b/packages/x/Makefile
@@ -76,6 +76,7 @@ SUBDIRS := Vulkan \
tdesktop \
terminus-font \
thaixfonts \
+ themes \
timezonemap \
tint2 \
vaapi \
diff --git a/packages/x/themes/GTK/Makefile b/packages/x/themes/GTK/Makefile
new file mode 100644
index 0000000..8845cd7
--- /dev/null
+++ b/packages/x/themes/GTK/Makefile
@@ -0,0 +1,39 @@
+#
+# Project Home:
+# ============
+# https://www.gnome-look.org
+#
+# Downloads:
+# =========
+# https://ftp.radix.pro/3pp/themes/GTK/
+#
+
+url = https://ftp.radix.pro/3pp/themes/GTK
+
+versions = 0.0.1
+
+pkgname = Silvery-GTK
+suffix = tar.xz
+
+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)
diff --git a/packages/x/themes/Makefile b/packages/x/themes/Makefile
new file mode 100644
index 0000000..6d6448a
--- /dev/null
+++ b/packages/x/themes/Makefile
@@ -0,0 +1,24 @@
+
+#
+# Following command helps to cheate SUBDIRS list:
+# $ tree -fid .
+#
+
+SUBDIRS := GTK
+
+
+all-recursive downloads_clean-recursive:
+ @set fnord $(MAKEFLAGS); amf=$$2; \
+ target=`echo $@ | sed s/-recursive//`; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ echo "Making $$target in $$subdir"; \
+ local_target="$$target"; \
+ (cd $$subdir && $(MAKE) $$fnord $$local_target) \
+ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+ done; test -z "$$fail"
+
+all: all-recursive
+
+downloads_clean: downloads_clean-recursive
+
+.PHONY: all-recursive downloads_clean-recursive all downloads_clean