-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
39 lines (36 loc) · 1.33 KB
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Template file for 'kitinerary'
pkgname=kitinerary
version=24.02.2
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=716e6e62175ca2b577e7df188c9143a52e2994c75007347c0d38ac01049e2af8
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"
}
}