desktop/ksecrets/PKGBUILD
2017-08-10 17:14:23 +01:00

41 lines
988 B
Bash

# Maintainer (i686): Phil Miller <philm@chakra-project[dog]org>
# Maintainer (x86_64): Manuel Tortosa <manutortosa@chakra-project@org>
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname="ksecrets"
pkgver=${_kdever}
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc="Ksecrets is a secrets management infrastructure aiming to replace KWallet"
url='http://kde.org/'
license=('GPL' 'FDL')
depends=("kdelibs>=${_kdever}" 'qca' "kde-workspace=${_workspace_ver}")
makedepends=('cmake')
options=('docs' 'debug')
source=($_mirror/${pkgname}-$_kdever.tar.xz)
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../kdeapps.sums | cut -d " " -f1`
'SKIP')
validpgpkeys=(${Avalidpgpkeys[@]})
build() {
cd "${srcdir}"
rm -rf build
mkdir build && cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd $srcdir/build
make DESTDIR=$pkgdir install
}