From 78ea15698e4cccf19b7876f35db6dcd8732f3c11 Mon Sep 17 00:00:00 2001 From: Rahammetoela Toekiman Date: Sun, 20 Nov 2022 16:33:03 -0300 Subject: [PATCH] add Master pdf editor 5 (#650) * add Master PDF editor 5 * add master-pdf-editor to the manifest * optimize url get function * added DEFVER * align package name Co-authored-by: Xmetalfanx --- 01-main/manifest | 1 + 01-main/packages/master-pdf-editor-5 | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 01-main/packages/master-pdf-editor-5 diff --git a/01-main/manifest b/01-main/manifest index 3b157507..ebad4f89 100644 --- a/01-main/manifest +++ b/01-main/manifest @@ -101,6 +101,7 @@ lsd ludo lutris mailspring +master-pdf-editor-5 mattermost-desktop mergerfs micro diff --git a/01-main/packages/master-pdf-editor-5 b/01-main/packages/master-pdf-editor-5 new file mode 100644 index 00000000..fc30536e --- /dev/null +++ b/01-main/packages/master-pdf-editor-5 @@ -0,0 +1,9 @@ +DEFVER=1 +CODENAMES_SUPPORTED="bionic bullseye buster focal jammy" +if [ "${ACTION}" != "prettylist" ]; then + URL=$(curl -s -S "https://code-industry.net/get-master-pdf-editor-for-ubuntu/?download" | grep -Eo "https://code-industry.net/public/.*\.deb" | uniq) + VERSION_PUBLISHED="$(echo "${URL}" | sed 's/^.*editor-//;s/-qt5.x86_64.*$//')" +fi +PRETTY_NAME="Master PDF Editor" +WEBSITE="https://code-industry.net/free-pdf-editor/" +SUMMARY="Edit PDF files in Linux. It enables you to create, edit, view and print interactive PDF documents."