[arch-commits] Commit in qpdfview/repos (2 files)
Rémy Oudompheng
remy at archlinux.org
Sat May 11 12:58:23 UTC 2019
Date: Saturday, May 11, 2019 @ 12:58:23
Author: remy
Revision: 465302
archrelease: copy trunk to community-staging-x86_64
Added:
qpdfview/repos/community-staging-x86_64/
qpdfview/repos/community-staging-x86_64/PKGBUILD
(from rev 465301, qpdfview/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: qpdfview/repos/community-staging-x86_64/PKGBUILD (from rev 465301, qpdfview/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-05-11 12:58:23 UTC (rev 465302)
@@ -0,0 +1,38 @@
+# Maintainer: Alad Wenter <alad at mailbox.org>
+# Contributor: Adam Reichold <adam.reichold at t-online.de>
+
+pkgname=qpdfview
+pkgver=0.4.18beta1
+pkgrel=2
+pkgdesc='A tabbed PDF viewer using the poppler library.'
+url='https://launchpad.net/qpdfview'
+arch=('x86_64')
+license=('GPL2')
+depends=('libcups' 'libsynctex' 'poppler-qt5' 'qt5-svg')
+makedepends=('qt5-tools' 'libspectre' 'djvulibre')
+optdepends=('libspectre: for PostScript support'
+ 'djvulibre: for DjVu support')
+source=("https://launchpad.net/qpdfview/trunk/$pkgver/+download/qpdfview-$pkgver.tar.gz"
+ "https://launchpad.net/qpdfview/trunk/$pkgver/+download/qpdfview-$pkgver.tar.gz.asc")
+sha256sums=('36d97b88514be66ede66c30f68a8ad26b3e76fe39f27d3789c02775ce92859a2'
+ 'SKIP')
+# Adam Reichold <adam.reichold at t-online.de>
+validpgpkeys=('1F521FF0F87E9E1CDE46B8A9F4928C4DD24D4DF8')
+
+prepare() {
+ cd $pkgname-$pkgver
+ sed -e 's|2.0.0|1.21.0|' -i application.pro
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ lrelease-qt5 qpdfview.pro
+ qmake-qt5 qpdfview.pro
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make INSTALL_ROOT="$pkgdir" install
+}
+
More information about the arch-commits
mailing list