Date: Saturday, March 10, 2018 @ 09:49:14 Author: arojas Revision: 318457
archrelease: copy trunk to testing-x86_64 Added: syntax-highlighting/repos/testing-x86_64/ syntax-highlighting/repos/testing-x86_64/PKGBUILD (from rev 318456, syntax-highlighting/trunk/PKGBUILD) ----------+ PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) Copied: syntax-highlighting/repos/testing-x86_64/PKGBUILD (from rev 318456, syntax-highlighting/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2018-03-10 09:49:14 UTC (rev 318457) @@ -0,0 +1,37 @@ +# $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.44.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=('d51673590c71cee09c773f0be57a4e2e63fd5115ee1f5691a533b0a455a84583' + 'SKIP') +validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <fa...@kde.org> + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF \ + -DBUILD_QCH=ON + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +}