mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-01 14:52:14 +01:00
48 lines
1.2 KiB
Plaintext
48 lines
1.2 KiB
Plaintext
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: team/kde <bribbers@disroot.org>
|
|
|
|
# The group tag is just to easily find this APKBUILD by some scripts for automation
|
|
# group=kde-applications
|
|
pkgname=libkomparediff2
|
|
pkgver=23.08.3
|
|
pkgrel=0
|
|
# armhf blocked by extra-cmake-modules
|
|
arch="all !armhf"
|
|
url="https://kde.org/applications/development"
|
|
pkgdesc="Library to compare files and strings"
|
|
license="GPL-2.0-or-later AND LGPL-2.0-or-later"
|
|
makedepends="
|
|
extra-cmake-modules
|
|
kcodecs5-dev
|
|
kconfig5-dev
|
|
kcoreaddons5-dev
|
|
ki18n5-dev
|
|
kio5-dev
|
|
kxmlgui5-dev
|
|
qt5-qtbase-dev
|
|
samurai
|
|
"
|
|
_repo_url="https://invent.kde.org/sdk/libkomparediff2.git"
|
|
source="https://download.kde.org/stable/release-service/$pkgver/src/libkomparediff2-$pkgver.tar.xz"
|
|
subpackages="$pkgname-dev $pkgname-lang"
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
ctest --test-dir build --output-on-failure
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
b77e6829c5b18abe5340331504c84adc31b9ba0833b5b441ec54e4b022c63599c553c690ac4a46cc85079a1e346fc1696d0cce5b470ad56d34939879fc64f3d9 libkomparediff2-23.08.3.tar.xz
|
|
"
|