void-packages/srcpkgs/kpty/template

26 lines
867 B
Bash

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