Date: Saturday, July 14, 2018 @ 09:00:37 Author: arojas Revision: 328582
archrelease: copy trunk to testing-x86_64 Added: kcodecs/repos/testing-x86_64/ kcodecs/repos/testing-x86_64/PKGBUILD (from rev 328581, kcodecs/trunk/PKGBUILD) ----------+ PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) Copied: kcodecs/repos/testing-x86_64/PKGBUILD (from rev 328581, kcodecs/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2018-07-14 09:00:37 UTC (rev 328582) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=kcodecs +pkgver=5.48.0 +pkgrel=1 +pkgdesc='Provide a collection of methods to manipulate strings using various encodings' +arch=(x86_64) +url='https://community.kde.org/Frameworks' +license=(LGPL) +depends=(qt5-base) +makedepends=(extra-cmake-modules qt5-tools clang python-pyqt5 gperf doxygen sip) +optdepends=('python-pyqt5: for the Python bindings') +groups=(kf5) +source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"{,.sig}) +sha256sums=('56a47b66bd40ba9baa232459eaf4ebcd066e9f2db9c9bb61007b9395e7d0e0df' + '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 +}