summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Newgard2017-01-25 01:03:20 -0600
committerDoug Newgard2017-01-25 01:03:20 -0600
commit186418009d0b99bdc0dfab3177579570eecfc9df (patch)
tree78af4bd556d99bbe1b1a6cbf10ea464ed1383c7d
parentf72e6f00c025e12e86810051c786f27471345d65 (diff)
downloadaur-186418009d0b99bdc0dfab3177579570eecfc9df.tar.gz
Use upstream checksums and only require deps at install time
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD7
2 files changed, 9 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a58fc49d5ac..06c2e2fcbd4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -6,13 +6,13 @@ pkgbase = masterpdfeditor
arch = x86_64
license = custom
makedepends = patchelf
- depends = qt5-base
- depends = qt5-svg
- depends = sane
source = masterpdfeditor.desktop
- sha256sums = 7c585afe0760855a0a509d6edf10d9f1dd6b73c045ec6cac39939a96d0ce796b
+ sha1sums = 5b3a0392390e49d4f7f4e478dd336476436f5cfa
source_x86_64 = http://get.code-industry.net/public/master-pdf-editor-4.0.30_qt5.amd64.tar.gz
- sha256sums_x86_64 = 5c0fc5446c5c543e8b87ac75e7589ee55c63a583cd5a9748a713320f2a46f89c
+ sha1sums_x86_64 = 26549ca453e1b6adde4c0557566b60bcefec445b
pkgname = masterpdfeditor
+ depends = qt5-base
+ depends = qt5-svg
+ depends = sane
diff --git a/PKGBUILD b/PKGBUILD
index e98108d44ce..ffb282aa50d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,14 +10,15 @@ pkgdesc='A complete solution for creation and editing PDF files'
url='http://code-industry.net/free-pdf-editor.php'
arch=('x86_64')
license=('custom')
-depends=('qt5-base' 'qt5-svg' 'sane')
makedepends=('patchelf')
source=('masterpdfeditor.desktop')
source_x86_64=("http://get.code-industry.net/public/master-pdf-editor-${pkgver}_qt5.amd64.tar.gz")
-sha256sums=('7c585afe0760855a0a509d6edf10d9f1dd6b73c045ec6cac39939a96d0ce796b')
-sha256sums_x86_64=('5c0fc5446c5c543e8b87ac75e7589ee55c63a583cd5a9748a713320f2a46f89c')
+sha1sums=('5b3a0392390e49d4f7f4e478dd336476436f5cfa')
+sha1sums_x86_64=('26549ca453e1b6adde4c0557566b60bcefec445b')
package() {
+ depends=('qt5-base' 'qt5-svg' 'sane')
+
install -d "$pkgdir"{/opt/,/usr/bin/,/usr/share/applications/}
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"