updated on Sun Jan 15 00:02:00 UTC 2012
[aur-mirror.git] / gnome-ssh-askpass2 / PKGBUILD
blobdb46a32ca8a549a342e34e2c20a7d95257113211
1 # Contributor: Clément DÉMOULINS <clement@archivel.fr>
3 pkgname=gnome-ssh-askpass2
4 _pkgname=openssh
5 pkgver=5.9p1
6 pkgrel=2
7 pkgdesc='A GNOME and Gtk2 passphrase requesters for ssh-add.'
8 arch=(i686 x86_64)
9 license=('custom')
10 conflicts=('x11-ssh-askpass' 'ssh-askpass-fullscreen' 'gnome-ssh-askpass')
11 url="http://www.openssh.org/portable.html"
12 depends=('gtk2')
13 source=(ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/$_pkgname-$pkgver.tar.gz
14         gnome-ssh-askpass2.sh)
15 #noextract=($_pkgname-$pkgver.tar.gz)
17 md5sums=('afe17eee7e98d3b8550cc349834a85d0'
18          '2eb5571a9751c94c90760bf3c05bd095')
20 build() {
21 #  cd $srcdir
22 #  tar -xzf $_pkgname-$pkgver.tar.gz
24   cd $srcdir/$_pkgname-$pkgver/contrib
26   make gnome-ssh-askpass2 || return 1
27   install -D -m755 gnome-ssh-askpass2 $pkgdir/usr/lib/ssh/$pkgname
29   install -d $pkgdir/etc/profile.d
30   install -D -m755 $srcdir/gnome-ssh-askpass2.sh $pkgdir/etc/profile.d/
32   install -Dm644 $srcdir/$_pkgname-$pkgver/LICENCE $pkgdir/usr/share/licenses/$pkgname/LICENCE