2016-10-09 11:00:34 +00:00
|
|
|
# Template file for 'sonnet'
|
|
|
|
pkgname=sonnet
|
2016-12-06 22:48:00 +00:00
|
|
|
version=5.29.0
|
2016-12-22 05:47:59 +00:00
|
|
|
revision=2
|
2016-10-09 11:00:34 +00:00
|
|
|
build_style=cmake
|
|
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
|
|
hostmakedepends="extra-cmake-modules"
|
|
|
|
makedepends="qt5-devel qt5-tools-devel aspell-devel hunspell-devel"
|
|
|
|
short_desc="KDE Multi-language spell checker"
|
|
|
|
maintainer="Denis Revin <denis.revin@gmail.com>"
|
|
|
|
license="LGPL-2"
|
|
|
|
homepage="https://projects.kde.org/projects/frameworks/sonnet"
|
|
|
|
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
2016-12-06 22:48:00 +00:00
|
|
|
checksum=20358de0d45387f44260c3e6f8df012d661b4446293cbb3823c978e3a8766965
|
2016-10-09 11:00:34 +00:00
|
|
|
|
2016-11-02 07:26:33 +00:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
hostmakedepends+=" qt5-host-tools qt5-tools-devel sonnet"
|
|
|
|
configure_args+=" -DPARSETRIGRAMS_EXECUTABLE=/usr/bin/parsetrigrams"
|
|
|
|
fi
|
|
|
|
|
2016-10-09 11:00:34 +00:00
|
|
|
sonnet-devel_package() {
|
|
|
|
short_desc+=" - development"
|
|
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/qt5/mkspecs
|
|
|
|
vmove usr/lib/cmake
|
|
|
|
vmove usr/lib/*.so
|
|
|
|
}
|
|
|
|
}
|