summaryrefslogtreecommitdiff
path: root/user/qpdfview/APKBUILD
blob: 8fd0e21d7975b2bc09a71140c3f900d7f16353b9 (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
# Contributor: Max Rees <maxcrees@me.com>
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=qpdfview
pkgver=0.4.16
pkgrel=0
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 gnutls-dev poppler-qt5-dev qt5-qttools-dev qt5-qtbase-dev
	qt5-qtsvg-dev"
subpackages="$pkgname-doc"
source="$url/trunk/$pkgver/+download/qpdfview-$pkgver.tar.gz"

build() {
	cd "$builddir"
	lrelease qpdfview.pro
	qmake CONFIG+="without_ps without_djvu" qpdfview.pro
	make
}

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

sha512sums="d3ac05fc51d48533e44e58cd19e5d222a8bfbc9da4df02ece6a405d2fdd3346eb4614816ae91e89facf28e107b920ff3ce7b2ccc8c9b7832ae2595ef70d65584  qpdfview-0.4.16.tar.gz"