diff options
author | kx <kx@radix.pro> | 2023-06-08 10:55:49 +0300 |
---|---|---|
committer | kx <kx@radix.pro> | 2023-06-08 10:55:49 +0300 |
commit | 60c0c1eb3ae0a1d27be27d4298e3ee79b9919747 (patch) | |
tree | 118ef4a3a6d6c7014c6a855e03b9105ee125a75d /packages/x/menu-cache | |
parent | 411874c2ab9a88a4a4ac5ee4c6a2d9a64e1fa824 (diff) | |
download | sources-60c0c1eb3ae0a1d27be27d4298e3ee79b9919747.tar.xz |
PCManFM-1.3.2
Diffstat (limited to 'packages/x/menu-cache')
-rw-r--r-- | packages/x/menu-cache/Makefile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/packages/x/menu-cache/Makefile b/packages/x/menu-cache/Makefile new file mode 100644 index 0000000..50af9ac --- /dev/null +++ b/packages/x/menu-cache/Makefile @@ -0,0 +1,41 @@ +# +# Project Home: +# ============ +# https://sourceforge.net/projects/lxde +# +# Downloads: +# ========= +# https://downloads.sourceforge.net/project/lxde/menu-cache +# + +url = https://downloads.sourceforge.net/project/lxde/menu-cache + +versions = 1.1.0 + +pkgname = menu-cache +suffix = tar.xz + +tarballs = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions))) +sha1s = $(addsuffix .sha1sum, $(tarballs)) + + +all: $(tarballs) $(signatures) $(sha1s) + +.PHONY: downloads_clean + +$(tarballs): + @echo -e "\n======= Downloading source tarballs =======\n" + @for tarball in $(tarballs) ; do \ + version=`echo $$tarball | sed 's/\([a-zA-Z-]*\)\([0-9][.][0-9]\)\(\..*\)/\2/'` ; \ + wget -N $(url)/$$version/$$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) |