Date: Saturday, July 14, 2018 @ 09:19:12 Author: arojas Revision: 328649
archrelease: copy trunk to testing-x86_64 Added: khtml/repos/testing-x86_64/ khtml/repos/testing-x86_64/PKGBUILD (from rev 328648, khtml/trunk/PKGBUILD) ----------+ PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) Copied: khtml/repos/testing-x86_64/PKGBUILD (from rev 328648, khtml/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2018-07-14 09:19:12 UTC (rev 328649) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=khtml +pkgver=5.48.0 +pkgrel=1 +pkgdesc='KHTML APIs' +arch=(x86_64) +url='https://community.kde.org/Frameworks' +license=(LGPL) +depends=(giflib kparts kjs) +makedepends=(extra-cmake-modules gperf) +groups=(kf5-aids) +source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/portingAids/$pkgname-$pkgver.tar.xz"{,.sig}) +sha256sums=('a1923402f04f4a72e8688004a00e47fe79f7f72d703d53a14058eebdb7a531ff' + '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 + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +}