diff options
author | kx <kx@radix.pro> | 2023-11-30 20:04:11 +0300 |
---|---|---|
committer | kx <kx@radix.pro> | 2023-11-30 20:04:11 +0300 |
commit | 873b1ba92660c2c9d149fa95261fb8895cd4ec16 (patch) | |
tree | 7d8a0d51df941389fdd5420d9bda1e2a318bb0cc /KDE | |
parent | c2017cddc6ea6dceea1198fa3f242eeab7a48e9d (diff) | |
download | sources-873b1ba92660c2c9d149fa95261fb8895cd4ec16.tar.xz |
KDE: office additions
Diffstat (limited to 'KDE')
-rw-r--r-- | KDE/office/Makefile | 6 | ||||
-rw-r--r-- | KDE/office/alkimia/Makefile | 62 | ||||
-rw-r--r-- | KDE/office/calligra/Makefile | 62 | ||||
-rw-r--r-- | KDE/office/calligraplan/Makefile | 62 | ||||
-rw-r--r-- | KDE/office/kmymoney/Makefile | 62 |
5 files changed, 253 insertions, 1 deletions
diff --git a/KDE/office/Makefile b/KDE/office/Makefile index 835cb96..88a6fb2 100644 --- a/KDE/office/Makefile +++ b/KDE/office/Makefile @@ -4,7 +4,11 @@ # $ tree -fid . # -SUBDIRS := ghostwriter +SUBDIRS := alkimia \ + calligra \ + calligraplan \ + ghostwriter \ + kmymoney all-recursive downloads_clean-recursive: diff --git a/KDE/office/alkimia/Makefile b/KDE/office/alkimia/Makefile new file mode 100644 index 0000000..7ef5260 --- /dev/null +++ b/KDE/office/alkimia/Makefile @@ -0,0 +1,62 @@ +# +# Project Home: +# ============ +# https://invent.kde.org +# +# Clone: +# ===== +# git clone https://invent.kde.org/office/alkimia.git +# + +url = https://invent.kde.org/office + +repo_name = alkimia +pkg_name = alkimia +suffix = tar.xz + +versions = 8.1.2 + +# List of tags to be extracted: +TAGS = $(addprefix v, $(versions)) + +git_repo = .git_clone +tarballs = $(addsuffix .tar.xz, $(addprefix $(pkg_name)-, $(versions))) +sha1s = $(addsuffix .sha1sum, $(tarballs)) + +TARGETS = repository_clean + + +all: $(TARGETS) + +.PHONY: downloads_clean repository_clean + +$(git_repo): + @echo -e "\n======= Clone $(repo_name).git repository =======\n" + @rm -rf $(repo_name) + @git clone $(url)/$(repo_name).git $(repo_name) + @touch $@ + +$(tarballs): $(git_repo) + @for version in $(versions) ; do \ + tag=v`echo $$version` ; \ + if [ ! -f $(repo_name)-$$version.$(suffix) ]; then \ + echo -e "\n======= Creating '$(repo_name)-$$version.$(suffix)' snapshot =======" ; \ + ( cd $(repo_name) && \ + git archive --format=tar --prefix=$(pkg_name)-$$version/ $$tag | \ + xz >../$(pkg_name)-$$version.$(suffix) ) ; \ + fi ; \ + done + +$(sha1s): %.tar.xz.sha1sum : %.tar.xz + @for tarball in $< ; do \ + echo -e "\n======= Calculation the '$$tarball' sha1sum =======" ; \ + sha1sum --binary $$tarball > $$tarball.sha1sum ; \ + done + +repository_clean: $(sha1s) + @echo -e "\n======= Remove cloned $(repo_name).git repository =======\n" + @rm -rf $(git_repo) $(repo_name) + +downloads_clean: + @rm -rf $(tarballs) $(sha1s) + @rm -rf $(git_repo) $(repo_name) diff --git a/KDE/office/calligra/Makefile b/KDE/office/calligra/Makefile new file mode 100644 index 0000000..5752348 --- /dev/null +++ b/KDE/office/calligra/Makefile @@ -0,0 +1,62 @@ +# +# Project Home: +# ============ +# https://invent.kde.org +# +# Clone: +# ===== +# git clone https://invent.kde.org/office/calligra.git +# + +url = https://invent.kde.org/office + +repo_name = calligra +pkg_name = calligra +suffix = tar.xz + +versions = 3.2.1 + +# List of tags to be extracted: +TAGS = $(addprefix v, $(versions)) + +git_repo = .git_clone +tarballs = $(addsuffix .tar.xz, $(addprefix $(pkg_name)-, $(versions))) +sha1s = $(addsuffix .sha1sum, $(tarballs)) + +TARGETS = repository_clean + + +all: $(TARGETS) + +.PHONY: downloads_clean repository_clean + +$(git_repo): + @echo -e "\n======= Clone $(repo_name).git repository =======\n" + @rm -rf $(repo_name) + @git clone $(url)/$(repo_name).git $(repo_name) + @touch $@ + +$(tarballs): $(git_repo) + @for version in $(versions) ; do \ + tag=v`echo $$version` ; \ + if [ ! -f $(repo_name)-$$version.$(suffix) ]; then \ + echo -e "\n======= Creating '$(repo_name)-$$version.$(suffix)' snapshot =======" ; \ + ( cd $(repo_name) && \ + git archive --format=tar --prefix=$(pkg_name)-$$version/ $$tag | \ + xz >../$(pkg_name)-$$version.$(suffix) ) ; \ + fi ; \ + done + +$(sha1s): %.tar.xz.sha1sum : %.tar.xz + @for tarball in $< ; do \ + echo -e "\n======= Calculation the '$$tarball' sha1sum =======" ; \ + sha1sum --binary $$tarball > $$tarball.sha1sum ; \ + done + +repository_clean: $(sha1s) + @echo -e "\n======= Remove cloned $(repo_name).git repository =======\n" + @rm -rf $(git_repo) $(repo_name) + +downloads_clean: + @rm -rf $(tarballs) $(sha1s) + @rm -rf $(git_repo) $(repo_name) diff --git a/KDE/office/calligraplan/Makefile b/KDE/office/calligraplan/Makefile new file mode 100644 index 0000000..4236f3e --- /dev/null +++ b/KDE/office/calligraplan/Makefile @@ -0,0 +1,62 @@ +# +# Project Home: +# ============ +# https://invent.kde.org +# +# Clone: +# ===== +# git clone https://invent.kde.org/office/calligraplan.git +# + +url = https://invent.kde.org/office + +repo_name = calligraplan +pkg_name = calligraplan +suffix = tar.xz + +versions = 3.3.0 + +# List of tags to be extracted: +TAGS = $(addprefix v, $(versions)) + +git_repo = .git_clone +tarballs = $(addsuffix .tar.xz, $(addprefix $(pkg_name)-, $(versions))) +sha1s = $(addsuffix .sha1sum, $(tarballs)) + +TARGETS = repository_clean + + +all: $(TARGETS) + +.PHONY: downloads_clean repository_clean + +$(git_repo): + @echo -e "\n======= Clone $(repo_name).git repository =======\n" + @rm -rf $(repo_name) + @git clone $(url)/$(repo_name).git $(repo_name) + @touch $@ + +$(tarballs): $(git_repo) + @for version in $(versions) ; do \ + tag=v`echo $$version` ; \ + if [ ! -f $(repo_name)-$$version.$(suffix) ]; then \ + echo -e "\n======= Creating '$(repo_name)-$$version.$(suffix)' snapshot =======" ; \ + ( cd $(repo_name) && \ + git archive --format=tar --prefix=$(pkg_name)-$$version/ $$tag | \ + xz >../$(pkg_name)-$$version.$(suffix) ) ; \ + fi ; \ + done + +$(sha1s): %.tar.xz.sha1sum : %.tar.xz + @for tarball in $< ; do \ + echo -e "\n======= Calculation the '$$tarball' sha1sum =======" ; \ + sha1sum --binary $$tarball > $$tarball.sha1sum ; \ + done + +repository_clean: $(sha1s) + @echo -e "\n======= Remove cloned $(repo_name).git repository =======\n" + @rm -rf $(git_repo) $(repo_name) + +downloads_clean: + @rm -rf $(tarballs) $(sha1s) + @rm -rf $(git_repo) $(repo_name) diff --git a/KDE/office/kmymoney/Makefile b/KDE/office/kmymoney/Makefile new file mode 100644 index 0000000..3063e91 --- /dev/null +++ b/KDE/office/kmymoney/Makefile @@ -0,0 +1,62 @@ +# +# Project Home: +# ============ +# https://invent.kde.org +# +# Clone: +# ===== +# git clone https://invent.kde.org/office/kmymoney.git +# + +url = https://invent.kde.org/office + +repo_name = kmymoney +pkg_name = kmymoney +suffix = tar.xz + +versions = 5.1.3 + +# List of tags to be extracted: +TAGS = $(addprefix v, $(versions)) + +git_repo = .git_clone +tarballs = $(addsuffix .tar.xz, $(addprefix $(pkg_name)-, $(versions))) +sha1s = $(addsuffix .sha1sum, $(tarballs)) + +TARGETS = repository_clean + + +all: $(TARGETS) + +.PHONY: downloads_clean repository_clean + +$(git_repo): + @echo -e "\n======= Clone $(repo_name).git repository =======\n" + @rm -rf $(repo_name) + @git clone $(url)/$(repo_name).git $(repo_name) + @touch $@ + +$(tarballs): $(git_repo) + @for version in $(versions) ; do \ + tag=v`echo $$version` ; \ + if [ ! -f $(repo_name)-$$version.$(suffix) ]; then \ + echo -e "\n======= Creating '$(repo_name)-$$version.$(suffix)' snapshot =======" ; \ + ( cd $(repo_name) && \ + git archive --format=tar --prefix=$(pkg_name)-$$version/ $$tag | \ + xz >../$(pkg_name)-$$version.$(suffix) ) ; \ + fi ; \ + done + +$(sha1s): %.tar.xz.sha1sum : %.tar.xz + @for tarball in $< ; do \ + echo -e "\n======= Calculation the '$$tarball' sha1sum =======" ; \ + sha1sum --binary $$tarball > $$tarball.sha1sum ; \ + done + +repository_clean: $(sha1s) + @echo -e "\n======= Remove cloned $(repo_name).git repository =======\n" + @rm -rf $(git_repo) $(repo_name) + +downloads_clean: + @rm -rf $(tarballs) $(sha1s) + @rm -rf $(git_repo) $(repo_name) |