Date: Tuesday, November 1, 2022 @ 14:47:54
Author: foutrelis
Revision: 1340133
archrelease: copy trunk to community-staging-x86_64
Added:
deepin-session-shell/repos/community-staging-x86_64/
deepin-session-shell/repos/community-staging-x86_64/PKGBUILD
(from rev 1340132, deepin-session-shell/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: deepin-session-shell/repos/community-staging-x86_64/PKGBUILD (from rev
1340132, deepin-session-shell/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2022-11-01 14:47:54 UTC (rev 1340133)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=deepin-session-shell
+pkgver=5.5.75
+pkgrel=2
+pkgdesc='Deepin desktop-environment - session-shell module'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/dde-session-shell"
+license=('GPL3')
+options=('debug')
+# qt5-tools: for qdbus executable
+depends=('deepin-daemon' 'deepin-network-core' 'deepin-qt5integration'
'deepin-wallpapers'
+ 'gsettings-qt' 'liblightdm-qt5' 'lightdm' 'qt5-tools' 'startdde')
+makedepends=('cmake' 'gmock' 'gtest' 'ninja')
+conflicts=('deepin-session-ui<5')
+provides=('lightdm-deepin-greeter')
+groups=('deepin')
+source=("https://github.com/linuxdeepin/dde-session-shell/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('27edc9c29bab563fe6d02a0ae313f738984ad8437ff13aa2f80935a75628c15dc65525285ed08f86a9217cfef252dd550a6040268f27f47970b5a1fb1fa7aebb')
+
+prepare() {
+ cd dde-session-shell-$pkgver
+ # We don't have common-auth on Arch
+ sed -i 's/common-auth/system-login/' src/libdde-auth/deepinauthframework.cpp
+}
+
+build() {
+ cd dde-session-shell-$pkgver
+ cmake . -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SYSCONFDIR=/etc
+ ninja
+}
+
+package() {
+ cd dde-session-shell-$pkgver
+ DESTDIR="$pkgdir" ninja install
+
+ chmod +x "$pkgdir"/usr/bin/deepin-greeter
+}