Commit ba805e40 authored by Bart Ribbers's avatar Bart Ribbers
Browse files

testing/kdiff3: new aport

parent 0eb9eea3
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kdiff3
pkgver=1.9.4
pkgrel=0
# armhf blocked by extra-cmake-modules
# s390x blocked by polkit -> kparts
arch="all !armhf !s390x"
url="https://apps.kde.org/kdiff3/"
pkgdesc="A file and folder diff and merge tool"
license="GPL-2.0-or-later "
makedepends="
boost-dev
extra-cmake-modules
kconfig-dev
kcoreaddons-dev
kcrash-dev
kdoctools-dev
ki18n-dev
kparts-dev
kwidgetsaddons-dev
qt5-qtbase-dev
"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/kdiff3/kdiff3-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
check() {
cd build
CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
76555eb9253c4cb96d32de01126a4547adb3424997034f0d9aed50cc4df87cb15c038a12f8620a491a968b47a3ea5eafcb0f53978aca4300ca319677bb2b9e63 kdiff3-1.9.4.tar.xz
"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment