void-packages/srcpkgs/kpkpass/template

29 lines
1008 B
Bash

# Template file for 'kpkpass'
pkgname=kpkpass
version=24.05.1
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=ef1946a40566e83e3734e06f0b505a5a046b377edb1376cc5796dbbc2e85efc8
kpkpass-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}