Date: Saturday, September 8, 2018 @ 08:37:11 Author: arojas Revision: 334041
archrelease: copy trunk to testing-x86_64 Added: sonnet/repos/testing-x86_64/ sonnet/repos/testing-x86_64/PKGBUILD (from rev 334040, sonnet/trunk/PKGBUILD) ----------+ PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) Copied: sonnet/repos/testing-x86_64/PKGBUILD (from rev 334040, sonnet/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2018-09-08 08:37:11 UTC (rev 334041) @@ -0,0 +1,40 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=sonnet +pkgver=5.50.0 +pkgrel=1 +pkgdesc='Spelling framework for Qt5' +arch=(x86_64) +url='https://community.kde.org/Frameworks' +license=(LGPL) +depends=(qt5-base) +makedepends=(extra-cmake-modules qt5-tools hunspell aspell hspell libvoikko doxygen) +optdepends=('hunspell: spell checking via hunspell' 'aspell: spell checking via aspell' + 'hspell: spell checking for Hebrew' 'libvoikko: Finnish support via Voikko') +groups=(kf5) +source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"{,.sig}) +sha256sums=('0dd49f3d64f97981781c385f4c6c5488ba0e64688435d50b78d8db9d68b9ad8d' + '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 +}