diff options
Diffstat (limited to 'community/kpty/APKBUILD')
-rw-r--r-- | community/kpty/APKBUILD | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/community/kpty/APKBUILD b/community/kpty/APKBUILD index d18863f290..8aa5b37733 100644 --- a/community/kpty/APKBUILD +++ b/community/kpty/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Bart Ribbers <bribbers@disroot.org> # Maintainer: Bart Ribbers <bribbers@disroot.org> pkgname=kpty -pkgver=5.62.0 +pkgver=5.63.0 pkgrel=0 pkgdesc="Pty abstraction" arch="all" @@ -13,8 +13,15 @@ source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kpty-$pkgver.tar subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" options="!check" # The one test it has fails: "Can't open a pseudo teletype" +prepare() { + default_prepare + + mkdir "$builddir"/build +} + build() { - cmake \ + cd "$builddir"/build + cmake "$builddir" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ @@ -23,10 +30,12 @@ build() { } check() { + cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { + cd "$builddir"/build DESTDIR="$pkgdir" make install } -sha512sums="a86fd097fcd1b7c2a7b694100a75053d5b58f110effe4cd3a2597997f670fb8831c1686425552a94f5e05da48f856f720664acea3a890755a9b93f767cea77c6 kpty-5.62.0.tar.xz" +sha512sums="5e3705a5c7c788eb48352c333961698ceff62c83d92b697f16d17b6b8ba9c0e1e07e154d3ec01f16bfd5cc88a134dae92e05e2ec1ee6ea29f8bbdf6680b9f06d kpty-5.63.0.tar.xz" |