summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Goetz2021-03-12 15:16:55 -0600
committerPatrick Goetz2021-03-12 15:16:55 -0600
commit087366288baa6748e7fa5d8404b95bb8d9642dc9 (patch)
treea25bd48cafca3c0aa33a6a52a3f2d824ef1a2081
parent61cd3afc5168504c710aa4ffa161fbcd18863963 (diff)
downloadaur-087366288baa6748e7fa5d8404b95bb8d9642dc9.tar.gz
Updated to add masterpdfeditor5.desktop file
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD10
-rw-r--r--masterpdfeditor5.desktop10
3 files changed, 19 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 317bd99e8f9..6ce66c5a523 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.31
- 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.31-qt5.x86_64.tar.gz
+ source_x86_64 = masterpdfeditor5.desktop
sha1sums_x86_64 = 03d53a806752c3731204912774c0674151cf020f
+ sha1sums_x86_64 = b33e7148123565fd4cc15d41c493f6ab27d37ba4
pkgname = masterpdfeditor
depends = libgl
diff --git a/PKGBUILD b/PKGBUILD
index f59f0fc185d..e83d830b8f6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,14 +6,16 @@
pkgname=masterpdfeditor
pkgver=5.7.31
-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=('03d53a806752c3731204912774c0674151cf020f')
+source_x86_64=("https://code-industry.net/public/master-pdf-editor-${pkgver}-qt5.x86_64.tar.gz"
+ masterpdfeditor5.desktop)
+sha1sums_x86_64=('03d53a806752c3731204912774c0674151cf020f'
+ '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 masterpdfeditor${pkgver%%.*}.desktop -t "$pkgdir/usr/share/applications/"
+ install -Dm644 ${srcdir}/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/masterpdfeditor5.desktop b/masterpdfeditor5.desktop
new file mode 100644
index 00000000000..4110db9360c
--- /dev/null
+++ b/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;