fix kwallet-pam install path

This commit is contained in:
Weng Xuetian 2015-09-10 08:43:47 +02:00
parent 7eca7e55d5
commit c06ab53a12
2 changed files with 15 additions and 3 deletions

View File

@ -2,7 +2,7 @@ source ../plasma.conf
pkgname=kwallet-pam
pkgver=${PVersion}
pkgrel=1
pkgrel=2
pkgdesc='KWallet PAM integration'
arch=(x86_64)
url='https://projects.kde.org/kwallet-pam'
@ -11,11 +11,15 @@ depends=(kwallet)
makedepends=(extra-cmake-modules)
groups=('plasma')
options=("debug")
source=("${PServer}/${pkgver}/${pkgname}-${PSubVersion}.tar.xz")
sha256sums=( $(getSum ${pkgname}) )
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() {

View File

@ -0,0 +1,8 @@
--- CMakeLists.txt.orig 2015-09-10 08:40:37.836666676 +0200
+++ CMakeLists.txt 2015-09-10 08:41:17.970000009 +0200
@@ -35,4 +35,4 @@
${LIBGCRYPT_LIBRARIES}
)
-install(TARGETS ${library_name} DESTINATION /${CMAKE_INSTALL_LIBDIR}/security)
+install(TARGETS ${library_name} DESTINATION ${CMAKE_INSTALL_LIBDIR}/security)