void-packages/srcpkgs/kf6-kpty/template

26 lines
837 B
Bash

# Template file for 'kf6-kpty'
pkgname=kf6-kpty
version=6.7.0
revision=1
build_style=cmake
configure_args="-DUTEMPTER_EXECUTABLE=/usr/lib/utempter/utempter"
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
gettext"
makedepends="kf6-kcoreaddons-devel kf6-ki18n-devel libutempter-devel"
short_desc="KDE Interfacing with pseudo terminal devices"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kpty"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=42cc1b1f70ee0bdacd26812857d31047d218e1f585ac35fe9165908501a9946a
kf6-kpty-devel_package() {
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}