diff options
author | justforlxz | 2022-12-28 14:07:06 +0800 |
---|---|---|
committer | justforlxz | 2022-12-28 14:07:06 +0800 |
commit | aa201147407e431371d610c7a88659c85f00df5c (patch) | |
tree | 480fda44b0186b291190cb6e2f61f479a66dcfb8 | |
parent | dd5e787c33891f64bcc2a25c90bc4f51212abd87 (diff) | |
download | aur-aa201147407e431371d610c7a88659c85f00df5c.tar.gz |
update
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 22 | ||||
-rw-r--r-- | dde-lock.pam | 4 |
3 files changed, 19 insertions, 11 deletions
@@ -1,6 +1,6 @@ pkgbase = deepin-session-shell-git pkgdesc = Deepin desktop-environment - session-shell module - pkgver = 5.5.24.r8.ga2f84d4 + pkgver = 5.6.3.r9.g36589226 pkgrel = 1 url = https://github.com/linuxdeepin/dde-session-shell arch = x86_64 @@ -23,6 +23,8 @@ pkgbase = deepin-session-shell-git conflicts = deepin-session-ui<5 conflicts = deepin-session-shell source = deepin-session-shell-git::git+https://github.com/linuxdeepin/dde-session-shell + source = dde-lock.pam sha512sums = SKIP + sha512sums = 36fb91a00b57e43e0c3b00b85a8b7bcbf8e7eb2ea908ce81fcb06272e8516ee667feb1c37238067e17fb5bb4b3e3d1cf6778982268ab9873035e38f4748cd968 pkgname = deepin-session-shell-git @@ -1,7 +1,7 @@ # Maintainer: justforlxz <justforlxz@gmail.com> pkgname=deepin-session-shell-git -pkgver=5.5.24.r8.ga2f84d4 +pkgver=5.6.3.r9.g36589226 pkgrel=1 pkgdesc='Deepin desktop-environment - session-shell module' arch=('x86_64' 'aarch64') @@ -12,8 +12,10 @@ makedepends=('git' 'cmake' 'ninja' 'qt5-tools' 'gtest' 'gmock') conflicts=('deepin-session-ui<5' 'deepin-session-shell') provides=('lightdm-deepin-greeter' 'deepin-session-shell') groups=('deepin-git') -source=("$pkgname::git+https://github.com/linuxdeepin/dde-session-shell") -sha512sums=('SKIP') +source=("$pkgname::git+https://github.com/linuxdeepin/dde-session-shell" + dde-lock.pam) +sha512sums=('SKIP' + '36fb91a00b57e43e0c3b00b85a8b7bcbf8e7eb2ea908ce81fcb06272e8516ee667feb1c37238067e17fb5bb4b3e3d1cf6778982268ab9873035e38f4748cd968') pkgver() { cd $pkgname @@ -22,22 +24,22 @@ pkgver() { prepare() { cd $pkgname - if [[ ! -z ${sha} ]];then - git checkout -b $sha - fi - sed -i 's/5\.5//g' CMakeLists.txt tests/lightdm-deepin-greeter/CMakeLists.txt tests/dde-lock/CMakeLists.txt } build() { cd $pkgname - cmake . -GNinja -DCMAKE_INSTALL_PREFIX=/usr - ninja + cmake -B build -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SYSCONFDIR=/etc + cmake --build build } package() { - cd $pkgname + cd $pkgname/build DESTDIR="$pkgdir" ninja install + cd $srcdir + rm $pkgdir/etc/pam.d/dde-lock + install -m644 dde-lock.pam $pkgdir/etc/pam.d/dde-lock + chmod +x "$pkgdir"/usr/bin/deepin-greeter } diff --git a/dde-lock.pam b/dde-lock.pam new file mode 100644 index 000000000000..ab053c543002 --- /dev/null +++ b/dde-lock.pam @@ -0,0 +1,4 @@ +#%PAM-1.0 +auth include system-auth +account include system-auth +session include system-auth |