Date: Saturday, April 20, 2019 @ 16:10:21 Author: arojas Revision: 350970
archrelease: copy trunk to testing-x86_64 Added: libkomparediff2/repos/testing-x86_64/ libkomparediff2/repos/testing-x86_64/PKGBUILD (from rev 350969, libkomparediff2/trunk/PKGBUILD) ----------+ PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) Copied: libkomparediff2/repos/testing-x86_64/PKGBUILD (from rev 350969, libkomparediff2/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-04-20 16:10:21 UTC (rev 350970) @@ -0,0 +1,36 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=libkomparediff2 +pkgver=19.04.0 +pkgrel=1 +pkgdesc="Library to compare files and strings" +url='https://www.kde.org/applications/development/kompare/' +arch=(x86_64) +license=(GPL LGPL FDL) +depends=(kio) +makedepends=(extra-cmake-modules) +source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}) +sha256sums=('ffb3370aa869831f86dc009353abd72a5f0c7a7d1c570d5fecf9747131247464' + 'SKIP') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aa...@kde.org> + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cf...@kde.org> + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ + -DBUILD_TESTING=OFF \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +}