# Maintainer: Jeff Bilyk pkgname=putty pkgver=0.78 pkgrel=1 pkgdesc="SSH and telnet client" url="https://www.chiark.greenend.org.uk/~sgtatham/putty/" arch="all" license="MIT" depends="ncurses-terminfo-base" makedepends="cmake gtk+3.0-dev linux-headers perl samurai" subpackages="$pkgname-doc" source="https://the.earth.li/~sgtatham/putty/$pkgver/putty-$pkgver.tar.gz" options="!check" # no test suite # secfixes: # 0.76-r0: # - CVE-2021-36367 # 0.74-r0: # - CVE-2020-14002 # 0.73-r0: # - CVE-2019-17068 # - CVE-2019-17069 # 0.71-r0: # - CVE-2019-9894 # - CVE-2019-9895 # - CVE-2019-9897 # - CVE-2019-9898 build() { cmake -B build -G Ninja \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=None cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" d7a3e2eabd5f1f65fc0f3f1ee0789c30fbe891b57f63ddeac0b92befcb6aecd4a748f04a21c76ee42d992deb77c2e1a0454a71cc620ef26fbf23af660bd84bb5 putty-0.78.tar.gz "