void-packages/srcpkgs/kpty/template
2020-10-14 22:16:43 +02:00

25 lines
837 B
Bash

# Template file for 'kpty'
pkgname=kpty
version=5.75.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
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=ef5484c65fae63acf744787293e74008601063a5eb74f3183449e85895e27c67
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"
}
}