aboutsummaryrefslogtreecommitdiffstats
path: root/testing/keditbookmarks/APKBUILD
blob: 11b60bb06b423b5225c0abd3d09d978a8c64ca6f (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
30
31
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=keditbookmarks
pkgver=19.04.3
pkgrel=0
arch="all"
url="https://www.kde.org/"
pkgdesc="Bookmark Organizer and Editor"
license="GPL-2.0-only AND GFDL-1.2-only"
makedepends="extra-cmake-modules qt5-qtbase-dev ki18n-dev kio-dev kbookmarks-dev kparts-dev kwindowsystem-dev kiconthemes-dev kdoctools-dev"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"

build() {
	cmake \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	make
}

check() {
	CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
}

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

sha512sums="11c441a9153928b267cec1525875f854991c3e1a807b0bfc8e18e2afca441a0a8b8de36b675129e301fad36c15f26637e8dc23ced2287d7c2e5a5ea3e17e5587  keditbookmarks-19.04.3.tar.xz"