5b0c90e31e
Fixes #979: Top drawer and background missing on first boot
37 lines
1.2 KiB
Text
37 lines
1.2 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=syntax-highlighting
|
|
pkgver=5.42.0
|
|
pkgrel=0
|
|
pkgdesc='Syntax highlighting engine for structured text and code'
|
|
arch="all"
|
|
url='https://community.kde.org/Frameworks'
|
|
license="LGPL-2.1"
|
|
depends=""
|
|
depends_dev="qt5-qtbase-dev"
|
|
makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev doxygen"
|
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz
|
|
apkbuild-syntax-highlight.patch"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
|
|
|
|
|
|
build() {
|
|
cmake \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DBUILD_QCH=ON
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
sha512sums="9475cc613f9de1f675d95e06d59fd4bc688a5255f8471bab7a01de2b35cc6fc7c4b4fc58b1f7d5b187922c841cfdab7f261987007b936c2a63d569ce241f8f88 syntax-highlighting-5.42.0.tar.xz
|
|
55841de896984b1058b152b2158a0592587859aaaff7e0aa8ea32b53d9a47d2654121e256a85f72ec640bb38faed7d74cdd168e8ce6d2b64a7309098a755d318 apkbuild-syntax-highlight.patch"
|