1 # Contributor: Clément DÉMOULINS <clement@archivel.fr>
2 # Contributor: Mark Pustjens <pustjens@dds.nl>
4 pkgname=gnome-ssh-askpass
8 pkgdesc='A GNOME and Gtk3 passphrase requesters for ssh-add.'
11 conflicts=('x11-ssh-askpass' 'ssh-askpass-fullscreen')
12 url="http://www.openssh.org/portable.html"
14 conflicts=('gnome-ssh-askpass2')
15 source=(ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/$_pkgname-$pkgver.tar.gz
16 0001-Ported-gnome-ssh-askpass2-to-gtk3.patch
18 #noextract=($_pkgname-$pkgver.tar.gz)
20 md5sums=('afe17eee7e98d3b8550cc349834a85d0'
21 'ae36075c4c2c8d320ded7bd773d7367f'
22 '48f09c13db808cfee20088e2a0481bd4')
26 # tar -xzf $_pkgname-$pkgver.tar.gz
28 cd $srcdir/$_pkgname-$pkgver/contrib
30 # patch submitted upstream
31 patch -p2 -i $srcdir/0001-Ported-gnome-ssh-askpass2-to-gtk3.patch
33 make gnome-ssh-askpass3 || return 1
34 install -D -m755 gnome-ssh-askpass3 $pkgdir/usr/lib/ssh/$pkgname
36 install -d $pkgdir/etc/profile.d
37 install -D -m755 $srcdir/gnome-ssh-askpass.sh $pkgdir/etc/profile.d/
39 install -Dm644 $srcdir/$_pkgname-$pkgver/LICENCE $pkgdir/usr/share/licenses/$pkgname/LICENCE