32 lines
909 B
Bash
32 lines
909 B
Bash
# Template file for 'sonnet'
|
|
pkgname=sonnet
|
|
version=5.100.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=ON"
|
|
hostmakedepends="kcoreaddons extra-cmake-modules qt5-host-tools
|
|
qt5-tools-devel"
|
|
makedepends="qt5-devel qt5-tools-devel aspell-devel hunspell-devel
|
|
qt5-declarative-devel"
|
|
short_desc="KDE Multi-language spell checker"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://invent.kde.org/frameworks/sonnet"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=e4e72b9385900d53afec16fd1272c91b56d39d849dc54974b7d9178b3c3a1e19
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" sonnet"
|
|
fi
|
|
|
|
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"
|
|
}
|
|
}
|