mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 14:34:36 +08:00
41 lines
822 B
Bash
41 lines
822 B
Bash
source ../plasma.conf
|
|
|
|
pkgname=kwallet-pam
|
|
pkgver=${PVersion}
|
|
pkgrel=1
|
|
pkgdesc='KWallet PAM integration'
|
|
arch=(x86_64)
|
|
url='https://projects.kde.org/kwallet-pam'
|
|
license=(LGPL)
|
|
depends=(pam libgcrypt socat kwallet)
|
|
makedepends=(extra-cmake-modules)
|
|
groups=('plasma')
|
|
options=("debug")
|
|
source=("${PServer}/${pkgver}/${pkgname}-${PVersion}.tar.xz"{,.sig})
|
|
sha256sums=( $(getSum ${pkgname})
|
|
'SKIP' )
|
|
validpgpkeys=(${Pvalidpgpkeys[@]})
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
mkdir -p build4
|
|
cd ${pkgname}-${pkgver}
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${pkgname}-${pkgver} -DCMAKE_INSTALL_LIBDIR=lib
|
|
make
|
|
|
|
cd ../build4
|
|
cmake_kf5 ../${pkgname}-${pkgver} -DCMAKE_INSTALL_LIBDIR=lib -DKWALLET4=1
|
|
make
|
|
}
|
|
package() {
|
|
cd build
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
cd ../build4
|
|
make DESTDIR="$pkgdir" install
|
|
}
|