mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
38 lines
1 KiB
Text
38 lines
1 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=syntax-highlighting
|
|
pkgver=5.84.0
|
|
pkgrel=0
|
|
pkgdesc="Syntax highlighting engine for structured text and code"
|
|
arch="all !armhf" # armhf blocked by extra-cmake-modules
|
|
url="https://community.kde.org/Frameworks"
|
|
license="MIT"
|
|
depends_dev="qt5-qtbase-dev"
|
|
makedepends="$depends_dev
|
|
doxygen
|
|
extra-cmake-modules
|
|
qt5-qttools-dev
|
|
"
|
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/syntax-highlighting-$pkgver.tar.xz"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
|
|
|
|
build() {
|
|
cmake -B build \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=None \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DBUILD_QCH=ON
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
cd build
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
sha512sums="
|
|
0eef420b8aa3917f28bfd64cbe046ebbfe34e9e537c7641666921d26931b3e5eab671b7b104857930fd35981f55bdce9d114b318b4bad2106479e1c3328b690b syntax-highlighting-5.84.0.tar.xz
|
|
"
|