Date: Saturday, November 11, 2017 @ 11:30:08 Author: arojas Revision: 309449
archrelease: copy trunk to testing-x86_64 Added: kcodecs/repos/testing-x86_64/ kcodecs/repos/testing-x86_64/PKGBUILD (from rev 309448, kcodecs/trunk/PKGBUILD) ----------+ PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) Copied: kcodecs/repos/testing-x86_64/PKGBUILD (from rev 309448, kcodecs/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2017-11-11 11:30:08 UTC (rev 309449) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=kcodecs +pkgver=5.40.0 +pkgrel=1 +pkgdesc='Provide a collection of methods to manipulate strings using various encodings' +arch=('i686' 'x86_64') +url='https://community.kde.org/Frameworks' +license=('LGPL') +depends=('qt5-base') +makedepends=('extra-cmake-modules' 'qt5-tools' 'clang' 'python-pyqt5' 'python2-pyqt5' 'gperf' 'doxygen') +optdepends=('python-pykf5: to use the Python 3 bindings' 'python2-pykf5: to use the Python 2 bindings') +groups=('kf5') +source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig}) +sha256sums=('a48709850a388543197eb250021672869e1022c087351fc606177e034069097f' + 'SKIP') +validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <fa...@kde.org> + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF \ + -DBUILD_QCH=ON + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +}