summaryrefslogtreecommitdiff
path: root/user/qpdfview/APKBUILD
blob: 5e6f4d467e9c2b3676fc2e5f5edbdc7dcce6419c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Contributor: Max Rees <maxcrees@me.com>
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=qpdfview
pkgver=0.4.18
pkgrel=2
pkgdesc="A tabbed document viewer"
url="https://launchpad.net/qpdfview"
arch="all"
options="!check"  # No test suite.
license="GPL-2.0+"
depends=""
makedepends="cups-dev djvulibre-dev gnutls-dev libspectre-dev poppler-dev
	poppler-qt5-dev qt5-qttools-dev qt5-qtbase-dev qt5-qtsvg-dev"
subpackages="$pkgname-doc"
source="https://launchpad.net/qpdfview/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz
	qpdfview-0.4.18-qt-5.15.patch
	"

build() {
	lrelease qpdfview.pro
	qmake qpdfview.pro
	make
}

package() {
	make INSTALL_ROOT="$pkgdir" install
}

sha512sums="38741520b20e3ed7100e52982930abac26e994a69df68c54dfa7180be8b2a4f377b91ba03993bab67b0a505ad79d62164f0f168a6715f4306b635ceba6840d66  qpdfview-0.4.18.tar.gz
ac6a742b957eb192117aece45cef8f2a9d76fe45d4cc87246dba8e52a15ac11c6892175fd73c8af3bd22a34ff36645828a5f12d66c240b6305d9621387fc3261  qpdfview-0.4.18-qt-5.15.patch"