summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Newgard <scimmia@archlinux.info>2017-09-04 00:15:44 -0500
committerDoug Newgard <scimmia@archlinux.info>2017-09-04 00:16:30 -0500
commit42f4c4d110a2eb2d806ff37823560a122e6f939e (patch)
tree917ce27ed8153202edc86ae71d8da647764619de
parent3132014465bdec505fa71061c09e25e1971cc7f2 (diff)
downloadmasterpdfeditor-42f4c4d110a2eb2d806ff37823560a122e6f939e.tar.gz
masterpdfeditor-42f4c4d110a2eb2d806ff37823560a122e6f939e.tar.bz2
masterpdfeditor-42f4c4d110a2eb2d806ff37823560a122e6f939e.zip
Upstream update to 4.3.00
Diffstat (limited to '')
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD16
-rw-r--r--masterpdfeditor.desktop9
3 files changed, 11 insertions, 22 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8c608e5..eabe006 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,13 @@
pkgbase = masterpdfeditor
pkgdesc = A complete solution for creation and editing PDF files
- pkgver = 4.2.70
+ pkgver = 4.3.00
pkgrel = 1
url = https://code-industry.net/free-pdf-editor/
arch = x86_64
license = custom
makedepends = patchelf
- source = masterpdfeditor.desktop
- sha1sums = 5b3a0392390e49d4f7f4e478dd336476436f5cfa
- source_x86_64 = http://get.code-industry.net/public/master-pdf-editor-4.2.70_qt5.amd64.tar.gz
- sha1sums_x86_64 = 1c7ffc8858ef5034d6f29f4ee783bc8fb4478fb5
+ source_x86_64 = http://get.code-industry.net/public/master-pdf-editor-4.3.00_qt5.amd64.tar.gz
+ sha1sums_x86_64 = aa7ac3ccc1aa71c3868267d324814deb6c05d57d
pkgname = masterpdfeditor
depends = gcc-libs
diff --git a/PKGBUILD b/PKGBUILD
index 519cf70..29afc83 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,25 +4,25 @@
# Contributor: Ferik <djferik at gmail dot com>
pkgname=masterpdfeditor
-pkgver=4.2.70
+pkgver=4.3.00
pkgrel=1
pkgdesc='A complete solution for creation and editing PDF files'
url='https://code-industry.net/free-pdf-editor/'
arch=('x86_64')
license=('custom')
makedepends=('patchelf')
-source=('masterpdfeditor.desktop')
source_x86_64=("http://get.code-industry.net/public/master-pdf-editor-${pkgver}_qt5.amd64.tar.gz")
-sha1sums=('5b3a0392390e49d4f7f4e478dd336476436f5cfa')
-sha1sums_x86_64=('1c7ffc8858ef5034d6f29f4ee783bc8fb4478fb5')
+sha1sums_x86_64=('aa7ac3ccc1aa71c3868267d324814deb6c05d57d')
package() {
depends=('gcc-libs' 'glibc' 'libgl' 'qt5-base' 'qt5-svg' 'sane')
- install -d "$pkgdir"{/opt/,/usr/bin/,/usr/share/applications/}
+ install -d "$pkgdir"{/opt/,/usr/bin/}
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/"
- patchelf --remove-rpath "$pkgdir/opt/master-pdf-editor-${pkgver%%.*}/masterpdfeditor${pkgver%%.*}"
+
+ cd "$pkgdir/opt/master-pdf-editor-${pkgver%%.*}"
+ install -Dm644 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/masterpdfeditor.desktop b/masterpdfeditor.desktop
deleted file mode 100644
index f6e334a..0000000
--- a/masterpdfeditor.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[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