28 lines
803 B
Bash
28 lines
803 B
Bash
# Template file for 'gnome-ssh-askpass'
|
|
pkgname=gnome-ssh-askpass
|
|
version=7.7p1
|
|
revision=1
|
|
wrksrc="openssh-${version}"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="gtk+-devel"
|
|
short_desc="GTK SSH passphrase grabber (from OpenSSH)"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="BSD-3-Clause, BSD-2-Clause"
|
|
homepage="http://www.openssh.org"
|
|
distfiles="https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-$version.tar.gz"
|
|
checksum=d73be7e684e99efcd024be15a30bffcbe41b012b2f7b3c9084aed621775e6b8f
|
|
|
|
alternatives="
|
|
ssh-askpass:/usr/libexec/ssh-askpass:/usr/bin/gnome-ssh-askpass
|
|
"
|
|
|
|
do_build() {
|
|
cd contrib
|
|
${CC} ${CFLAGS} $(pkg-config --cflags gtk+-2.0) ${pkgname}2.c -o ${pkgname} $(pkg-config --libs gtk+-2.0) ${LDFLAGS} -lX11
|
|
}
|
|
|
|
do_install() {
|
|
vbin contrib/${pkgname}
|
|
vlicense LICENCE
|
|
}
|