community/openssh-askpass to 2.0.3-3

This commit is contained in:
Kevin Mihelich 2015-12-23 00:09:09 +00:00
parent 93617265a2
commit ce7bc5dd4b
3 changed files with 7 additions and 6 deletions

View file

@ -7,7 +7,7 @@
pkgname=openssh-askpass
pkgver=2.0.3
pkgrel=2
pkgrel=3
pkgdesc='A plasma-like passphrase dialog for ssh'
arch=('i686' 'x86_64')
url='http://hugo.pereira.free.fr/software/index.php?page=package&package_list=software_list_qt4&package=openssh-askpass&full=0'
@ -15,12 +15,10 @@ license=('GPL')
depends=('openssh' 'qt4' 'xcb-util-keysyms')
makedepends=('cmake')
provides=('x11-ssh-askpass')
conflicts=('x11-ssh-askpass')
source=("http://hugo.pereira.free.fr/software/tgz/$pkgname-$pkgver.tar.gz"
"$pkgname.sh"
'arm.patch')
install=$pkgname.install
md5sums=('b5abdeef5f09256545f8643aca111426'
'baec3f0499b851aca6705968fa9e0df7'
'834cd4ee728226b219d6c747a1b6a9b2')
build() {
@ -38,5 +36,4 @@ build() {
package() {
cd "$srcdir/$pkgname-$pkgver/build"
make DESTDIR="$pkgdir" install
install -Dm755 "$srcdir/$pkgname.sh" "$pkgdir/etc/profile.d/$pkgname.sh"
}

View file

@ -0,0 +1,5 @@
post_upgrade() {
if [[ $(vercmp 2.0.3-3 "$2") -eq 1 ]]; then
echo "The SSH_ASKPASS environment variable is not exported by default anymore. Set it in /etc/profile to revert to the previous behavior"
fi
}

View file

@ -1 +0,0 @@
export SSH_ASKPASS=/usr/bin/qt4-ssh-askpass