2012-02-06 04:46:15 +08:00
|
|
|
#
|
|
|
|
# KDE SC Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
|
|
|
|
# include global config
|
|
|
|
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>=${_kdever}")
|
|
|
|
makedepends=('cmake')
|
2013-07-24 08:15:53 +08:00
|
|
|
options=('docs' '!header' 'debug' 'log')
|
2012-02-06 04:46:15 +08:00
|
|
|
|
2012-03-30 09:38:15 +08:00
|
|
|
source=($_mirror/${pkgname}-$_kdever.tar.xz)
|
2013-12-17 20:32:36 +08:00
|
|
|
sha1sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d" " -f1`)
|
2012-02-06 04:46:15 +08:00
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
}
|
|
|
|
|