summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7ba0a0b3b4b43498a935f1e857949059beea59dc (plain)
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
# Maintainer: solaraquarion <shlomochoina@gmail.com>
pkgname=qdocumentview-git
pkgver=r7.d58dd20
pkgrel=1
pkgdesc="QDocumentView is a widget to render multi-page documents"
arch=('x86_64')
url="https://gitlab.com/marcusbritanicus/qdocumentview"
license=('GPL')
depends=('qt5-base' 'djvulibre' 'poppler-qt5')
makedepends=('meson' 'git' 'poppler-qt5')
provides=()
conflicts=()
source=("git+$url")
sha256sums=('SKIP')

pkgver() {
	cd "${srcdir}/qdocumentview"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
	arch-meson qdocumentview build
	ninja -C build
}

package() {
	DESTDIR="$pkgdir/" ninja -C build install
}