pmaports/kde/syntax-highlighting/APKBUILD
2018-02-26 23:27:50 +00:00

37 lines
1.2 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=syntax-highlighting
pkgver=5.43.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="3d9f2e073e05690922126b4b5360ef178655482158ff3471b469826681b86cba1ce1e555f0bc15df27dd980632a8324ad666bad178ee98eaf5fcdf58e2618c83 syntax-highlighting-5.43.0.tar.xz
55841de896984b1058b152b2158a0592587859aaaff7e0aa8ea32b53d9a47d2654121e256a85f72ec640bb38faed7d74cdd168e8ce6d2b64a7309098a755d318 apkbuild-syntax-highlight.patch"