From 272e00d6baa07747aa4815562fcb35c5ed551130 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Wed, 14 Jan 2015 14:06:46 +0100 Subject: [PATCH] New package: gnome-ssh-askpass-6.7p1 --- srcpkgs/gnome-ssh-askpass/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/gnome-ssh-askpass/template diff --git a/srcpkgs/gnome-ssh-askpass/template b/srcpkgs/gnome-ssh-askpass/template new file mode 100644 index 00000000000..16092a22499 --- /dev/null +++ b/srcpkgs/gnome-ssh-askpass/template @@ -0,0 +1,22 @@ +# Template file for 'gnome-ssh-askpass' +pkgname=gnome-ssh-askpass +version=6.7p1 +revision=1 +wrksrc="openssh-${version}" +hostmakedepends="pkg-config gtk+-devel" +short_desc="GTK SSH passphrase grabber (from OpenSSH)" +maintainer="Christian Neukirchen " +license="BSD" +homepage="http://www.openssh.org" +distfiles="ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-$version.tar.gz" +checksum=b2f8394eae858dabbdef7dac10b99aec00c95462753e80342e530bbb6f725507 +update_pkgname="openssh" + +do_build() { + cd contrib + ${CC} ${CFLAGS} $(pkg-config --cflags gtk+-2.0) gnome-ssh-askpass2.c -o gnome-ssh-askpass $(pkg-config --libs gtk+-2.0) ${LDFLAGS} -lX11 +} + +do_install() { + vbin contrib/gnome-ssh-askpass +}