32 lines
1.0 KiB
Bash
32 lines
1.0 KiB
Bash
# Template file for 'messagelib'
|
|
pkgname=messagelib
|
|
version=18.08.3
|
|
revision=2
|
|
build_style=cmake
|
|
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python kconfig"
|
|
makedepends="akonadi-contacts-devel gpgmeqt-devel kdepim-apps-libs-devel
|
|
kidentitymanagement-devel kmailtransport-devel kmbox-devel libgravatar-devel
|
|
libkdepim-devel qt5-location-devel qt5-webchannel-devel qt5-webengine-devel"
|
|
short_desc="KDE PIM messaging library"
|
|
maintainer="John <johnz@posteo.net>"
|
|
license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
|
homepage="https://community.kde.org/KDE_PIM"
|
|
distfiles="${KDE_SITE}/applications/${version}/src/messagelib-${version}.tar.xz"
|
|
checksum=5fcb7984d8422e290323fed16d12d80d65701f21222a94219967ede132eeaa6e
|
|
patch_args="-Np1"
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
LDFLAGS=" -Wl,-rpath-link,../../bin"
|
|
fi
|
|
|
|
messagelib-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/qt5/mkspecs
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|