# Maintainer: Natanael Copa pkgname=openssh-askpass pkgver=9.0_p1 _myver=${pkgver%_*}${pkgver#*_} pkgrel=0 pkgdesc="A passphrase dialog for OpenSSH and GTK" url="http://www.openssh.org/portable.html" arch="all" license="AS-IS" depends="openssh-client" options="!check" makedepends="gtk+3.0-dev" subpackages="" source="https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-$_myver.tar.gz" builddir="$srcdir"/openssh-$_myver/contrib build () { cd "$builddir" make gnome-ssh-askpass3 } package() { cd "$builddir" install -Dm755 gnome-ssh-askpass3 "$pkgdir"/usr/lib/ssh/gtk-ssh-askpass install -d "$pkgdir"/etc/profile.d cat > "$pkgdir"/etc/profile.d/openssh-askpass.sh <<- EOF SSH_ASKPASS=/usr/lib/ssh/gtk-ssh-askpass export SSH_ASKPASS EOF chmod +x "$pkgdir"/etc/profile.d/openssh-askpass.sh } sha512sums=" 613ae95317e734868c6a60d9cc5af47a889baa3124bbdd2b31bb51dd6b57b136f4cfcb5604cca78a03bd500baab9b9b45eaf77e038b1ed776c86dce0437449a9 openssh-9.0p1.tar.gz "