summaryrefslogtreecommitdiff
path: root/community/openssh-askpass
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/openssh-askpass
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/openssh-askpass')
-rw-r--r--community/openssh-askpass/PKGBUILD36
-rw-r--r--community/openssh-askpass/openssh-askpass.sh1
2 files changed, 37 insertions, 0 deletions
diff --git a/community/openssh-askpass/PKGBUILD b/community/openssh-askpass/PKGBUILD
new file mode 100644
index 000000000..feae299a7
--- /dev/null
+++ b/community/openssh-askpass/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: schuay <jakob.gruber@gmail.com>
+# Previous Maintainer: TDY <tdy@gmx.com>
+# Contributor: Massimiliano Torromeo <Massimiliano.Torromeo AT gmail DOT com>
+
+pkgname=openssh-askpass
+pkgver=2.0.0
+pkgrel=2
+pkgdesc='A plasma-like passphrase dialog for ssh'
+arch=('i686' 'x86_64')
+url='http://www.phenix.bnl.gov/WWW/publish/hpereira/software/index.php?page=package&package_list=software_list_qt4&package=openssh-askpass&full=1'
+license=('GPL')
+depends=('openssh' 'qt4')
+makedepends=('cmake')
+provides=('x11-ssh-askpass')
+conflicts=('x11-ssh-askpass')
+source=("http://www.phenix.bnl.gov/WWW/publish/hpereira/software/tgz/$pkgname-$pkgver.tar.gz"
+ "$pkgname.sh")
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ mkdir -p build
+ cd build
+
+ cmake -DCMAKE_INSTALL_PREFIX="/usr" ..
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver/build"
+ make DESTDIR="$pkgdir" install
+ install -Dm755 "$srcdir/$pkgname.sh" "$pkgdir/etc/profile.d/$pkgname.sh"
+}
+
+md5sums=('99b31e5bc2c12f91cc88869661ad92be'
+ 'baec3f0499b851aca6705968fa9e0df7')
diff --git a/community/openssh-askpass/openssh-askpass.sh b/community/openssh-askpass/openssh-askpass.sh
new file mode 100644
index 000000000..6f2c2b221
--- /dev/null
+++ b/community/openssh-askpass/openssh-askpass.sh
@@ -0,0 +1 @@
+export SSH_ASKPASS=/usr/bin/qt4-ssh-askpass