diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/ksshaskpass/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
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..9fd126de3 --- /dev/null +++ b/community/ksshaskpass/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: schuay <jakob.gruber@gmail.com> + +pkgname=ksshaskpass +pkgver=0.5.3 +pkgrel=2 +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 +} |