40 lines
1.3 KiB
Bash
40 lines
1.3 KiB
Bash
# Template file for 'kitinerary'
|
|
pkgname=kitinerary
|
|
version=24.08.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
|
|
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins
|
|
-DKDE_INSTALL_QMLDIR=lib/qt6/qml
|
|
-DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt6/mkspecs/modules"
|
|
hostmakedepends="extra-cmake-modules gettext kf6-kcoreaddons pkg-config
|
|
qt6-tools qt6-tools qt6-tools-devel kf6-kconfig"
|
|
makedepends="kf6-kcalendarcore-devel kf6-kcontacts-devel kf6-kdeclarative-devel
|
|
kf6-karchive-devel kmime6-devel
|
|
kpkpass-devel libphonenumber-devel poppler-devel libxml2-devel qt6-base-devel
|
|
zxing-cpp-devel"
|
|
short_desc="Data model and extraction system for travel reservation information"
|
|
maintainer="Louis Dupré Bertoni <contact@louisdb.xyz>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://kontact.kde.org"
|
|
changelog="https://kde.org/announcements/changelogs/gear/${version}/#kitinerary"
|
|
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
|
|
checksum=befb95f1620e0c9baa82264aabfba0cc676c9ee40583938be2091f1254f2cdac
|
|
|
|
do_check() {
|
|
cd build
|
|
|
|
# extractortest is broken
|
|
ctest -E extractortest
|
|
}
|
|
|
|
kitinerary-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|