76868e7d4b
[ci skip]
28 lines
817 B
Bash
28 lines
817 B
Bash
# Template file for 'kmime'
|
|
pkgname=kmime
|
|
version=20.12.1
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="extra-cmake-modules python3 gettext"
|
|
makedepends="kcodecs-devel ki18n-devel"
|
|
short_desc="Library for handling mail messages and newsgroup articles"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://community.kde.org/KDE_PIM"
|
|
distfiles="${KDE_SITE}/release-service/${version}/src/kmime-${version}.tar.xz"
|
|
checksum=4299c59e65a4c74e5104d2349d3ce6eabc782be9a5008d1b882b2da210ac2543
|
|
|
|
if [ "CROSS_BUILD" ];then
|
|
hostmakedepends+=" qt5-qmake qt5-host-tools"
|
|
fi
|
|
|
|
kmime-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove usr/lib/qt5/mkspecs
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|