void-packages/srcpkgs/kpty/template
2022-03-28 18:55:50 +02:00

24 lines
800 B
Bash

# Template file for 'kpty'
pkgname=kpty
version=5.92.0
revision=1
build_style=cmake
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=cb1dac5f8f7ba059ef967a2cf3d1580a29a8d7b373ef67e82e0ac4f0285ee052
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"
}
}