diff options
Diffstat (limited to 'community/ksshaskpass/PKGBUILD')
-rw-r--r-- | community/ksshaskpass/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/community/ksshaskpass/PKGBUILD b/community/ksshaskpass/PKGBUILD new file mode 100644 index 000000000..63a0198c7 --- /dev/null +++ b/community/ksshaskpass/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: schuay <jakob.gruber@gmail.com> + +pkgname=ksshaskpass +pkgver=0.5.3 +pkgrel=3 +pkgdesc='KDE4 implementation of ssh-askpass with Kwallet integration' +url='http://www.kde-apps.org/content/show.php/Ksshaskpass?content=50971' +license=('GPL') +arch=('i686' 'x86_64') +depends=('kdelibs') +makedepends=('cmake' 'automoc4') +provides=('x11-ssh-askpass') +conflicts=('x11-ssh-askpass') +source=("http://www.kde-apps.org/CONTENT/content-files/50971-$pkgname-$pkgver.tar.gz" + "$pkgname.sh") +md5sums=('05dad7745e9d92b08bd86e7ab7a9540d' + '70396ba019ae05cc91502456f548caff') + +build() { + cd "$srcdir"/$pkgname-$pkgver + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release + make +} +package() { + cd "$srcdir"/$pkgname-$pkgver + make DESTDIR="$pkgdir" install + + # Remove useless desktop file. + rm -rf "$pkgdir"/usr/share/applications + + # Documentation requires that this application is installed as /usr/bin/ssh-askpass. + # But this way is cleaner. + # Add script to profile.d to set ssh password agent to ksshasskpass. + install -Dm 755 "$srcdir"/$pkgname.sh "$pkgdir"/etc/profile.d/$pkgname.sh +} |