summaryrefslogtreecommitdiff
path: root/user/qt5-qtxmlpatterns/APKBUILD
blob: 7db73f2639e4344cf593da95a251ad843c258003 (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
31
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=qt5-qtxmlpatterns
_pkgname=qtxmlpatterns-opensource-src
pkgver=5.9.6
pkgrel=0
pkgdesc="Qt 5 - Support for XPath, XQuery, XSLT, and XML schema validation"
url="https://doc.qt.io/qt-5/qtxmlpatterns-index.html"
arch="all"
license="LGPL-2.0 with exceptions OR GPL-3.0 with exceptions"
makedepends="qt5-qtbase-dev"
subpackages="$pkgname-dev"
source="https://download.qt.io/official_releases/qt/${pkgver%.*}/$pkgver/submodules/$_pkgname-$pkgver.tar.xz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	cd "$builddir"
	qmake
	make
}

check() {
	cd "$builddir"
	make check
}

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

sha512sums="c1b7983725cd208b207e366f3fcaedf073768cbe11d6c54c4569b8155e2c97e4af889792600d86769b7e6828409e0333ad7c66b8459d07c5c1a06268d28d6788  qtxmlpatterns-opensource-src-5.9.6.tar.xz"