# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Sergej Pupykin # Contributor: Charles Mauch pkgname=x11-ssh-askpass pkgver=1.2.4.1 pkgrel=2 pkgdesc="x11-ssh-askpass is a lightweight passphrase dialog for OpenSSH or other open variants of SSH." arch=('i686' 'x86_64') license=('custom') url="http://www.jmknoble.net/software/x11-ssh-askpass/" depends=( 'x-server' 'openssh' ) makedepends=('imake') provides=('x11-ssh-askpass') source=(http://www.jmknoble.net/software/x11-ssh-askpass/$pkgname-$pkgver.tar.gz x11-ssh-askpass.sh LICENSE) md5sums=('8f2e41f3f7eaa8543a2440454637f3c3' '19c1ae8d716de93e88d633ea322a4c7b' '15aca767eeee86273c567a52e2da7d82') build() { cd $startdir/src/$pkgname-$pkgver # libexec redirected per archlinux package guidelines ./configure --libexecdir=/usr/lib/openssh --mandir=/usr/share/man/ xmkmf make includes make || return 1 make DESTDIR=$startdir/pkg install make DESTDIR=$startdir/pkg install.man mkdir -p $startdir/pkg/etc/profile.d install -m755 $startdir/x11-ssh-askpass.sh $startdir/pkg/etc/profile.d/ install -D -m644 ../LICENSE $startdir/pkg/usr/share/licenses/x11-ssh-askpass/LICENSE }