Date: Sunday, December 10, 2017 @ 18:39:10 Author: arojas Revision: 312118
archrelease: copy trunk to testing-x86_64 Added: syntax-highlighting/repos/testing-x86_64/ syntax-highlighting/repos/testing-x86_64/PKGBUILD (from rev 312117, syntax-highlighting/trunk/PKGBUILD) ----------+ PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) Copied: syntax-highlighting/repos/testing-x86_64/PKGBUILD (from rev 312117, syntax-highlighting/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2017-12-10 18:39:10 UTC (rev 312118) @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 278167 2016-10-10 12:21:17Z arojas $ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=syntax-highlighting +pkgver=5.41.0 +pkgrel=1 +pkgdesc='Syntax highlighting engine for structured text and code' +arch=(x86_64) +url='https://community.kde.org/Frameworks' +license=(GPL2) +depends=(qt5-base) +makedepends=(extra-cmake-modules qt5-xmlpatterns qt5-tools doxygen) +groups=(kf5) +source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig}) +sha256sums=('0cf7fb843313863fd2faced3430d0974e5b7553275ba0a96db1e0a135c5aac42' + 'SKIP') +validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <fa...@kde.org> + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF \ + -DBUILD_QCH=ON + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +}