void-packages/srcpkgs/kpkpass/template

29 lines
1008 B
Bash

# Template file for 'kpkpass'
pkgname=kpkpass
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 qt6-base qt6-tools shared-mime-info"
makedepends="kf6-karchive-devel qt6-base-devel"
short_desc="Apple Wallet Pass reader"
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}/#kpkpass"
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
checksum=57976e78b8d0c0f5e2a401cb9bd44c986342f4edb258978e6bda26f9eca325af
kpkpass-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}