diff options
author | kx <kx@radix.pro> | 2023-08-25 12:36:38 +0300 |
---|---|---|
committer | kx <kx@radix.pro> | 2023-08-25 12:36:38 +0300 |
commit | 36bbb8da3fcf841a686021d159a31339ac14361d (patch) | |
tree | 3e83d370e03ba9b2a7c7fabdbe74bb797ac25ac7 /GNOME | |
parent | 9e320b9a996df4946edb953b3cfb4ffcfa1a1e94 (diff) | |
download | sources-36bbb8da3fcf841a686021d159a31339ac14361d.tar.xz |
GNOME: geary-44.1
Diffstat (limited to 'GNOME')
-rw-r--r-- | GNOME/apps/Makefile | 1 | ||||
-rw-r--r-- | GNOME/apps/geary/Makefile | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/GNOME/apps/Makefile b/GNOME/apps/Makefile index 2a412b6..6a7275d 100644 --- a/GNOME/apps/Makefile +++ b/GNOME/apps/Makefile @@ -16,6 +16,7 @@ SUBDIRS := accerciser \ file-roller \ five-or-more \ four-in-a-row \ + geary \ gedit \ gitg \ glade \ diff --git a/GNOME/apps/geary/Makefile b/GNOME/apps/geary/Makefile new file mode 100644 index 0000000..1eca528 --- /dev/null +++ b/GNOME/apps/geary/Makefile @@ -0,0 +1,55 @@ +# +# Project Home: +# ============ +# https://www.gnome.org +# +# Repository browse: https://git.gnome.org/browse/gedit +# +# Downloads: +# ========= +# ftp://ftp.gnome.org/pub/GNOME/sources +# https://download.gnome.org/sources +# + + +url = https://download.gnome.org/sources + +versions = 44.1 + +pkg_name = geary +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) |