From c06ab53a12f126e649666c5a4cfe844140e7297e Mon Sep 17 00:00:00 2001 From: Weng Xuetian Date: Thu, 10 Sep 2015 08:43:47 +0200 Subject: [PATCH] fix kwallet-pam install path --- kwallet-pam/PKGBUILD | 10 +++++++--- kwallet-pam/install-path.patch | 8 ++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 kwallet-pam/install-path.patch diff --git a/kwallet-pam/PKGBUILD b/kwallet-pam/PKGBUILD index 6a21a813d..9ef6bfe2e 100644 --- a/kwallet-pam/PKGBUILD +++ b/kwallet-pam/PKGBUILD @@ -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() { diff --git a/kwallet-pam/install-path.patch b/kwallet-pam/install-path.patch new file mode 100644 index 000000000..951f42c72 --- /dev/null +++ b/kwallet-pam/install-path.patch @@ -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)