core/kwallet-pam/PKGBUILD
2015-09-10 08:44:09 +02:00

34 lines
695 B
Bash

source ../plasma.conf
pkgname=kwallet-pam
pkgver=${PVersion}
pkgrel=2
pkgdesc='KWallet PAM integration'
arch=(x86_64)
url='https://projects.kde.org/kwallet-pam'
license=(LGPL)
depends=(kwallet)
makedepends=(extra-cmake-modules)
groups=('plasma')
options=("debug")
source=("${PServer}/${pkgver}/${pkgname}-${PSubVersion}.tar.xz"
"install-path.patch")
sha256sums=( $(getSum ${pkgname})
"861428b4ec11c08c623e390f4ac97282b18125d84591821cbd6f742db70163d3")
prepare() {
mkdir -p build
cd ${pkgname}-${pkgver}
patch -i ../install-path.patch -Np0
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}