pkgname=kpty pkgver=5.36.0 pkgrel=1 pkgdesc='Pty abstraction' arch="all" url='https://community.kde.org/Frameworks' license="LGPL" depends="kcoreaddons ki18n" # libutempter makedepends="extra-cmake-modules python doxygen qt5-qttools-dev" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz" subpackages="$pkgname-doc $pkgname-lang" prepare() { mkdir -p $srcdir/build } build() { cd $srcdir/build cmake "$srcdir"/${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib \ -DBUILD_TESTING=OFF \ -DBUILD_QCH=ON make } package() { cd $srcdir/build make DESTDIR="${pkgdir}" install } sha512sums="5ca846279c20cc0654b7dd7aba2b1b9fbcb3c04d31c4e274a62f74c52cdf7f877acd89dd92120baea34c9dc60c76aad8af3163b70e4cb16577ba815142ca985f kpty-5.36.0.tar.xz"