void-packages/srcpkgs/sonnet/template
2016-10-16 12:58:41 +04:00

25 lines
809 B
Bash

# Template file for 'sonnet'
pkgname=sonnet
version=5.26.0
revision=1
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"
checksum=e20f641628f561b8571874fc67441a0a7721026492d52c02f4cb82b956a67b2a
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
}
}