mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
46 lines
1.0 KiB
Bash
46 lines
1.0 KiB
Bash
#
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dot]org>
|
|
# maintainer (x86_64): Nistor Andrei <coder[dot]tux[at]ceata[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=ksshaskpass
|
|
pkgver=0.5.3
|
|
pkgrel=2
|
|
pkgdesc="A KDE 4 version of ssh-askpass with KWallet support."
|
|
arch=('i686' 'x86_64')
|
|
url="http://kde-apps.org/content/show.php/Ksshaskpass?content=50971"
|
|
license=('GPL')
|
|
groups=()
|
|
depends=(kdelibs openssh)
|
|
makedepends=(cmake)
|
|
options=()
|
|
categories=('network')
|
|
source=("http://kde-apps.org/CONTENT/content-files/50971-${pkgname}-${pkgver}.tar.gz")
|
|
md5sums=('05dad7745e9d92b08bd86e7ab7a9540d')
|
|
|
|
build() {
|
|
cd "${srcdir}"
|
|
pushd "${pkgname}-${pkgver}"
|
|
patch -p1 < ../../autostart.patch
|
|
popd
|
|
|
|
mkdir build
|
|
cd build
|
|
export XDG_CONFIG_DIRS=/etc/xdg/
|
|
cmake ../"${pkgname}-${pkgver}" \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}"/build
|
|
|
|
make DESTDIR="$pkgdir/" install
|
|
}
|
|
|