2013-12-18 02:36:04 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
2013-12-18 02:41:12 +08:00
|
|
|
# Maintainer (i686): Phil Miller <philm@chakra-project[dog]org>
|
|
|
|
# Maintainer (x86_64): Manuel Tortosa <manutortosa@chakra-project@org>
|
2012-02-06 04:46:15 +08:00
|
|
|
|
2013-12-18 02:36:04 +08:00
|
|
|
# Include global configuration
|
2012-02-06 04:46:15 +08:00
|
|
|
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')
|
2014-03-31 04:59:03 +08:00
|
|
|
depends=("kdelibs>=${_kdever}" 'qca' "kde-workspace=${_workspace_ver}")
|
2012-02-06 04:46:15 +08:00
|
|
|
makedepends=('cmake')
|
2015-05-14 05:17:22 +08:00
|
|
|
options=('docs' 'debug')
|
2012-02-06 04:46:15 +08:00
|
|
|
|
2012-03-30 09:38:15 +08:00
|
|
|
source=($_mirror/${pkgname}-$_kdever.tar.xz)
|
2014-01-11 20:59:04 +08:00
|
|
|
sha256sums=(`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
|
|
|
|
|
|
|
|
}
|
|
|
|
|