summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
-rw-r--r--masterpdfeditor5.desktop10
3 files changed, 17 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index df4d448..004d219 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -7,7 +7,9 @@ pkgbase = masterpdfeditor
license = custom
makedepends = patchelf
source_x86_64 = https://code-industry.net/public/master-pdf-editor-5.6.80-qt5.x86_64.tar.gz
+ source_x86_64 = masterpdfeditor5.desktop
sha1sums_x86_64 = 0225cccbda7a3d0b7a6041c64cbda6f997d3095d
+ sha1sums_x86_64 = b33e7148123565fd4cc15d41c493f6ab27d37ba4
pkgname = masterpdfeditor
depends = libgl
diff --git a/PKGBUILD b/PKGBUILD
index 5e95e93..503a793 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,8 +12,10 @@ 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=('0225cccbda7a3d0b7a6041c64cbda6f997d3095d')
+source_x86_64=("https://code-industry.net/public/master-pdf-editor-${pkgver}-qt5.x86_64.tar.gz"
+ masterpdfeditor5.desktop)
+sha1sums_x86_64=('0225cccbda7a3d0b7a6041c64cbda6f997d3095d'
+ '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 0000000..4110db9
--- /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;