updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gnome-ssh-askpass / PKGBUILD
blob6c3509dcbae3e1cc559cedae1684788d78ed337b
1 # Contributor: Clément DÉMOULINS <clement@archivel.fr>
2 # Contributor: Mark Pustjens <pustjens@dds.nl>
4 pkgname=gnome-ssh-askpass
5 _pkgname=openssh
6 pkgver=5.9p1
7 pkgrel=1
8 pkgdesc='A GNOME and Gtk3 passphrase requesters for ssh-add.'
9 arch=(i686 x86_64)
10 license=('custom')
11 conflicts=('x11-ssh-askpass' 'ssh-askpass-fullscreen')
12 url="http://www.openssh.org/portable.html"
13 depends=('gtk3')
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
17         gnome-ssh-askpass.sh)
18 #noextract=($_pkgname-$pkgver.tar.gz)
20 md5sums=('afe17eee7e98d3b8550cc349834a85d0'
21          'ae36075c4c2c8d320ded7bd773d7367f'
22          '48f09c13db808cfee20088e2a0481bd4')
24 build() {
25 #  cd $srcdir
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