void-packages/srcpkgs/kf6-kpty/template

26 lines
837 B
Bash

# Template file for 'kf6-kpty'
pkgname=kf6-kpty
version=6.1.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=df226cd90ba6f773560404c799562b2764ad39d4f41f15105f2ed9f9b2cf59df
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"
}
}