From 1f0d797ebb49f7e7c53dce67286204dc0cd91e9a Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Sun, 5 Jul 2020 12:15:31 +0200 Subject: [PATCH] add(x86_64/masterpdfeditor-free): Init --- x86_64/masterpdfeditor-free/.gitmodules | 68 +++++++++++++++++++ x86_64/masterpdfeditor-free/PKGBUILD | 31 +++++++++ .../masterpdfeditor-free.install | 6 ++ .../masterpdfeditor.desktop | 9 +++ 4 files changed, 114 insertions(+) create mode 100644 x86_64/masterpdfeditor-free/.gitmodules create mode 100644 x86_64/masterpdfeditor-free/PKGBUILD create mode 100644 x86_64/masterpdfeditor-free/masterpdfeditor-free.install create mode 100644 x86_64/masterpdfeditor-free/masterpdfeditor.desktop diff --git a/x86_64/masterpdfeditor-free/.gitmodules b/x86_64/masterpdfeditor-free/.gitmodules new file mode 100644 index 0000000..ff59e89 --- /dev/null +++ b/x86_64/masterpdfeditor-free/.gitmodules @@ -0,0 +1,68 @@ +[submodule "x86_64/flucky"] + path = x86_64/flucky + url = ssh://aur@aur.archlinux.org/flucky.git + branch = master +[submodule "x86_64/rpm-builder"] + path = x86_64/rpm-builder + url = ssh://aur@aur.archlinux.org/rpm-builder.git + branch = master +[submodule "any/mint-backgrounds-helena"] + path = any/mint-backgrounds-helena + url = ssh://aur@aur.archlinux.org/mint-backgrounds-helena.git +[submodule "any/mint-backgrounds-isadora"] + path = any/mint-backgrounds-isadora + url = ssh://aur@aur.archlinux.org/mint-backgrounds-isadora.git +[submodule "any/mint-backgrounds-julia"] + path = any/mint-backgrounds-julia + url = ssh://aur@aur.archlinux.org/mint-backgrounds-julia.git +[submodule "any/mint-backgrounds-katya"] + path = any/mint-backgrounds-katya + url = ssh://aur@aur.archlinux.org/mint-backgrounds-katya.git +[submodule "any/mint-backgrounds-lisa"] + path = any/mint-backgrounds-lisa + url = ssh://aur@aur.archlinux.org/mint-backgrounds-lisa.git +[submodule "any/mint-backgrounds-nadia"] + path = any/mint-backgrounds-nadia + url = ssh://aur@aur.archlinux.org/mint-backgrounds-nadia.git +[submodule "any/mint-backgrounds-maya"] + path = any/mint-backgrounds-maya + url = ssh://aur@aur.archlinux.org/mint-backgrounds-maya.git +[submodule "any/mint-backgrounds-olivia"] + path = any/mint-backgrounds-olivia + url = ssh://aur@aur.archlinux.org/mint-backgrounds-olivia.git +[submodule "any/mint-backgrounds-petra"] + path = any/mint-backgrounds-petra + url = ssh://aur@aur.archlinux.org/mint-backgrounds-petra.git +[submodule "any/mint-backgrounds-qiana"] + path = any/mint-backgrounds-qiana + url = ssh://aur@aur.archlinux.org/mint-backgrounds-qiana.git +[submodule "any/mint-backgrounds-rafaela"] + path = any/mint-backgrounds-rafaela + url = ssh://aur@aur.archlinux.org/mint-backgrounds-rafaela.git +[submodule "any/mint-backgrounds-rebecca"] + path = any/mint-backgrounds-rebecca + url = ssh://aur@aur.archlinux.org/mint-backgrounds-rebecca.git +[submodule "x86_64/rpm-org"] + path = x86_64/rpm-org + url = https://aur.archlinux.org/rpm-org.git +[submodule "x86_64/deltarpm"] + path = x86_64/deltarpm + url = https://aur.archlinux.org/deltarpm.git +[submodule "any/ubuntu-backgrounds-trusty"] + path = any/ubuntu-backgrounds-trusty + url = ssh://aur@aur.archlinux.org/ubuntu-backgrounds-trusty.git +[submodule "any/ubuntu-backgrounds-focal"] + path = any/ubuntu-backgrounds-focal + url = ssh://aur@aur.archlinux.org/ubuntu-backgrounds-focal.git +[submodule "any/ubuntu-backgrounds-bionic"] + path = any/ubuntu-backgrounds-bionic + url = ssh://aur@aur.archlinux.org/ubuntu-backgrounds-bionic.git +[submodule "any/ubuntu-backgrounds-xenial"] + path = any/ubuntu-backgrounds-xenial + url = ssh://aur@aur.archlinux.org/ubuntu-backgrounds-xenial.git +[submodule "any/mint-backgrounds"] + path = any/mint-backgrounds + url = ssh://aur@aur.archlinux.org/mint-backgrounds.git +[submodule "x86_64/uddns-aur"] + path = x86_64/uddns-aur + url = ssh://git@trrsuv040.agfahealthcare.com:10022/orbis-u/uddns-aur.git diff --git a/x86_64/masterpdfeditor-free/PKGBUILD b/x86_64/masterpdfeditor-free/PKGBUILD new file mode 100644 index 0000000..86886c8 --- /dev/null +++ b/x86_64/masterpdfeditor-free/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Davide Peressoni +# Contributor: Doug Newgard +# Contributor: Jiachen Yang +# Contributor: Miguel Revilla +# Contributor: Ferik + +pkgname=masterpdfeditor-free +pkgver=4.3.89 +pkgrel=1 +pkgdesc='A complete solution for creation and editing PDF files - Free version without watermark' +url='https://code-industry.net/free-pdf-editor/' +arch=('i686' 'x86_64') +license=('custom') +conflicts=('masterpdfeditor-qt4') +install="${pkgname}.install" +source=('masterpdfeditor.desktop') +source_i686=("http://code-industry.net/public/master-pdf-editor-${pkgver}_i386.tar.gz") +source_x86_64=("http://code-industry.net/public/master-pdf-editor-${pkgver}_qt5.amd64.tar.gz") +sha1sums=('5b3a0392390e49d4f7f4e478dd336476436f5cfa') +sha1sums_i686=('3f7b1a8d293814b2e6e6cf6d9d6b79522ff0a2f9') +sha1sums_x86_64=('254e05e0845ff73b7c932280c2bbe8d22aa4934c') + +package() { + depends=('gcc-libs' 'glibc' 'qt5-base' 'qt5-svg' 'sane') + + install -d "$pkgdir"{/opt/,/usr/bin/,/usr/share/applications/} + cp -a --no-preserve=ownership master-pdf-editor-${pkgver%%.*} "$pkgdir/opt/" + sed "s/VERMAJ/${pkgver%%.*}/g" masterpdfeditor.desktop > "$pkgdir/usr/share/applications/masterpdfeditor${pkgver%%.*}.desktop" + ln -s /opt/master-pdf-editor-${pkgver%%.*}/masterpdfeditor${pkgver%%.*} -t "$pkgdir/usr/bin/" + install -Dm644 master-pdf-editor-${pkgver%%.*}/license.txt -t "$pkgdir/usr/share/licenses/$pkgname/" +} diff --git a/x86_64/masterpdfeditor-free/masterpdfeditor-free.install b/x86_64/masterpdfeditor-free/masterpdfeditor-free.install new file mode 100644 index 0000000..7c5d8db --- /dev/null +++ b/x86_64/masterpdfeditor-free/masterpdfeditor-free.install @@ -0,0 +1,6 @@ +post_install() { + echo '0.0.0.0 get.code-industry.net' >> /etc/hosts +} +post_remove() { + sed -i '/get\.code-industry\.net/d' /etc/hosts +} diff --git a/x86_64/masterpdfeditor-free/masterpdfeditor.desktop b/x86_64/masterpdfeditor-free/masterpdfeditor.desktop new file mode 100644 index 0000000..f6e334a --- /dev/null +++ b/x86_64/masterpdfeditor-free/masterpdfeditor.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Type=Application +Name=Master PDF Editor +GenericName=PDF Editor +Comment=Edit your PDF and XPS files +Exec=/opt/master-pdf-editor-VERMAJ/masterpdfeditorVERMAJ %f +Icon=/opt/master-pdf-editor-VERMAJ/masterpdfeditorVERMAJ.png +Categories=Office;Publishing; +MimeType=application/pdf