Date: Monday, November 28, 2016 @ 12:38:11 Author: foutrelis Revision: 282162
archrelease: copy trunk to staging-i686, staging-x86_64 Added: sonnet/repos/staging-i686/ sonnet/repos/staging-i686/PKGBUILD (from rev 282161, sonnet/trunk/PKGBUILD) sonnet/repos/staging-x86_64/ sonnet/repos/staging-x86_64/PKGBUILD (from rev 282161, sonnet/trunk/PKGBUILD) -------------------------+ staging-i686/PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++ staging-x86_64/PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+) Copied: sonnet/repos/staging-i686/PKGBUILD (from rev 282161, sonnet/trunk/PKGBUILD) =================================================================== --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2016-11-28 12:38:11 UTC (rev 282162) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=sonnet +pkgver=5.28.0 +pkgrel=2 +pkgdesc='Spelling framework for Qt5' +arch=('i686' 'x86_64') +url='https://community.kde.org/Frameworks' +license=('LGPL') +depends=('qt5-base') +makedepends=('extra-cmake-modules' 'qt5-tools' 'hunspell' 'aspell' 'hspell' 'libvoikko') +optdepends=('hunspell: spell checking via hunspell' 'aspell: spell checking via aspell' + 'hspell: spell checking for Hebrew' 'libvoikko: Finnish support via Voikko') +groups=('kf5') +source=("http://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig} + sonnet-hunspell-1.5.patch::"https://cgit.kde.org/sonnet.git/patch/?id=5fc1e967") +md5sums=('9fe51016d7879cb8fac5fe374491a561' + 'SKIP' + '4fbff060e00017db0c10f862efe941a9') +validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <fa...@kde.org> + +prepare() { + mkdir -p build + +# Support hunspell 1.5 + cd $pkgname-$pkgver + patch -p1 -i ../sonnet-hunspell-1.5.patch +} + +build() { + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +} Copied: sonnet/repos/staging-x86_64/PKGBUILD (from rev 282161, sonnet/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2016-11-28 12:38:11 UTC (rev 282162) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=sonnet +pkgver=5.28.0 +pkgrel=2 +pkgdesc='Spelling framework for Qt5' +arch=('i686' 'x86_64') +url='https://community.kde.org/Frameworks' +license=('LGPL') +depends=('qt5-base') +makedepends=('extra-cmake-modules' 'qt5-tools' 'hunspell' 'aspell' 'hspell' 'libvoikko') +optdepends=('hunspell: spell checking via hunspell' 'aspell: spell checking via aspell' + 'hspell: spell checking for Hebrew' 'libvoikko: Finnish support via Voikko') +groups=('kf5') +source=("http://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig} + sonnet-hunspell-1.5.patch::"https://cgit.kde.org/sonnet.git/patch/?id=5fc1e967") +md5sums=('9fe51016d7879cb8fac5fe374491a561' + 'SKIP' + '4fbff060e00017db0c10f862efe941a9') +validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <fa...@kde.org> + +prepare() { + mkdir -p build + +# Support hunspell 1.5 + cd $pkgname-$pkgver + patch -p1 -i ../sonnet-hunspell-1.5.patch +} + +build() { + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +}