summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Goetz2021-03-16 20:43:02 -0500
committerPatrick Goetz2021-03-16 20:43:02 -0500
commit46d0c3b5e0085f8a323c5cc51d11a4079c02c2cb (patch)
treee19b0c02297a5f397826498370b0bbd1ce7523bc
parent9e1699a259a916f51167a4cbee3a342944569f55 (diff)
downloadaur-46d0c3b5e0085f8a323c5cc51d11a4079c02c2cb.tar.gz
5.7.40 updated with edited net.code-industry.masterpdfeditor5.desktop file
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD10
-rw-r--r--net.code-industry.masterpdfeditor5.desktop10
3 files changed, 19 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index af429ee008b..d43bb7bc1a9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,15 @@
pkgbase = masterpdfeditor
pkgdesc = A complete solution for viewing, creating and editing PDF files
pkgver = 5.7.40
- pkgrel = 1
+ pkgrel = 2
url = https://code-industry.net/free-pdf-editor/
arch = x86_64
license = custom
makedepends = patchelf
source_x86_64 = https://code-industry.net/public/master-pdf-editor-5.7.40-qt5.x86_64.tar.gz
+ source_x86_64 = net.code-industry.masterpdfeditor5.desktop
sha1sums_x86_64 = 17c395c0df01c6e3d2ff2fb72bb76c4c621bafed
+ sha1sums_x86_64 = b33e7148123565fd4cc15d41c493f6ab27d37ba4
pkgname = masterpdfeditor
depends = libgl
diff --git a/PKGBUILD b/PKGBUILD
index 5c7ac555caf..f4177302608 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,14 +6,16 @@
pkgname=masterpdfeditor
pkgver=5.7.40
-pkgrel=1
+pkgrel=2
pkgdesc='A complete solution for viewing, creating and editing PDF files'
url='https://code-industry.net/free-pdf-editor/'
arch=('x86_64')
license=('custom')
makedepends=('patchelf')
-source_x86_64=("https://code-industry.net/public/master-pdf-editor-${pkgver}-qt5.x86_64.tar.gz")
-sha1sums_x86_64=('17c395c0df01c6e3d2ff2fb72bb76c4c621bafed')
+source_x86_64=("https://code-industry.net/public/master-pdf-editor-${pkgver}-qt5.x86_64.tar.gz"
+ net.code-industry.masterpdfeditor5.desktop)
+sha1sums_x86_64=('17c395c0df01c6e3d2ff2fb72bb76c4c621bafed'
+ 'b33e7148123565fd4cc15d41c493f6ab27d37ba4')
package() {
depends=('libgl' 'nspr' 'nss' 'qt5-base' 'qt5-svg' 'sane')
@@ -23,7 +25,7 @@ package() {
cd "$pkgdir/opt/master-pdf-editor-${pkgver%%.*}"
ln -sr masterpdfeditor${pkgver%%.*} -t "$pkgdir/usr/bin/"
- install -Dm644 net.code-industry.masterpdfeditor${pkgver%%.*}.desktop -t "$pkgdir/usr/share/applications/"
+ install -Dm644 ${srcdir}/net.code-industry.masterpdfeditor${pkgver%%.*}.desktop -t "$pkgdir/usr/share/applications/"
install -Dm644 license.txt -t "$pkgdir/usr/share/licenses/$pkgname/"
patchelf --remove-rpath masterpdfeditor${pkgver%%.*}
}
diff --git a/net.code-industry.masterpdfeditor5.desktop b/net.code-industry.masterpdfeditor5.desktop
new file mode 100644
index 00000000000..4110db9360c
--- /dev/null
+++ b/net.code-industry.masterpdfeditor5.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=Master PDF Editor 5
+Comment=Edit PDF files
+Exec=/opt/master-pdf-editor-5/masterpdfeditor5 %f
+Path=/opt/master-pdf-editor-5
+Terminal=false
+Icon=/opt/master-pdf-editor-5/masterpdfeditor5.png
+Type=Application
+Categories=Office;Graphics;
+MimeType=application/pdf;application/x-bzpdf;application/x-gzpdf;