core/ksshaskpass/PKGBUILD

41 lines
999 B
Bash
Raw Normal View History

# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/ksshaskpass
2015-01-15 05:23:15 +08:00
source ../plasma.conf
pkgname=ksshaskpass
pkgver=${PVersion}
2018-02-08 03:39:13 +08:00
pkgrel=1
pkgdesc="ssh-add helper that uses kwallet and kpassworddialog"
2015-01-15 05:23:15 +08:00
arch=('x86_64')
url='https://projects.kde.org/projects/kde/workspace/ksshaskpass'
2015-01-15 05:23:15 +08:00
license=('LGPL')
2018-03-10 04:58:01 +08:00
depends=(kwallet)
makedepends=(extra-cmake-modules kdoctools python3)
provides=(x11-ssh-askpass)
2015-01-15 05:23:15 +08:00
groups=('plasma')
options=("debug")
2016-10-01 03:01:02 +08:00
source=("${PServer}/${pkgver}/${pkgname}-${PVersion}.tar.xz"{,.sig}
"$pkgname.sh")
sha256sums=( $(getSum ${pkgname})
2016-10-01 03:01:02 +08:00
'SKIP'
'cba50feec8b0d058d0967407e79573b225c53dc1fe5461b3b2ddfbfbb2aff809' )
validpgpkeys=(${Pvalidpgpkeys[@]})
2015-01-15 05:23:15 +08:00
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
2015-01-15 05:23:15 +08:00
}
package() {
cd build
make DESTDIR="${pkgdir}" install
install -Dm755 "$srcdir"/ksshaskpass.sh \
"${pkgdir}"/etc/profile.d/ksshaskpass.sh
2015-01-15 05:23:15 +08:00
}