mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-09 16:37:14 +08:00
fix kwallet-pam install path
This commit is contained in:
parent
7eca7e55d5
commit
c06ab53a12
@ -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() {
|
||||
|
8
kwallet-pam/install-path.patch
Normal file
8
kwallet-pam/install-path.patch
Normal 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)
|
Loading…
Reference in New Issue
Block a user