void-packages/srcpkgs/kpty/template
2022-04-18 11:58:56 +02:00

25 lines
866 B
Bash

# Template file for 'kpty'
pkgname=kpty
version=5.93.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=2a05154dbf9eb082f32f33b494dc36c3b24a59c14521167f3306a04c3649ec12
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"
}
}