summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPatrick Goetz2021-03-12 15:16:55 -0600
committerPatrick Goetz2021-03-12 15:16:55 -0600
commit087366288baa6748e7fa5d8404b95bb8d9642dc9 (patch)
treea25bd48cafca3c0aa33a6a52a3f2d824ef1a2081 /PKGBUILD
parent61cd3afc5168504c710aa4ffa161fbcd18863963 (diff)
downloadaur-087366288baa6748e7fa5d8404b95bb8d9642dc9.tar.gz
Updated to add masterpdfeditor5.desktop file
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 6 insertions, 4 deletions
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%%.*}
}