Date: Saturday, May 2, 2020 @ 08:07:59 Author: felixonmars Revision: 624323
addpkg: deepin-session-shell 5.0.0098.0-1 Added: deepin-session-shell/ deepin-session-shell/repos/ deepin-session-shell/trunk/ deepin-session-shell/trunk/PKGBUILD ----------+ PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) Added: deepin-session-shell/trunk/PKGBUILD =================================================================== --- deepin-session-shell/trunk/PKGBUILD (rev 0) +++ deepin-session-shell/trunk/PKGBUILD 2020-05-02 08:07:59 UTC (rev 624323) @@ -0,0 +1,35 @@ +# 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.0.0098.0 +pkgrel=1 +pkgdesc='Deepin desktop-environment - session-shell module' +arch=('x86_64') +url="https://github.com/linuxdeepin/dde-session-shell" +license=('GPL3') +depends=('deepin-daemon' 'deepin-qt5integration' 'gsettings-qt' 'liblightdm-qt5' 'startdde') +makedepends=('cmake' 'qt5-tools') +conflicts=('deepin-session-ui<5') +provides=('lightdm-deepin-greeter') +groups=('deepin') +source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-session-shell/archive/$pkgver.tar.gz") +sha512sums=('f7c7fa8c03e99cb00f843812e44679c6e68434988a20d17aa59561a838c119d2fabb7ec26673179f1241bd0c25b8f0cca84986064830498e9108b44fdf7bdda1') + +prepare() { + cd dde-session-shell-$pkgver + sed -i '/darrowrectangle/d' CMakeLists.txt src/widgets/widgets.pri + sed -i 's/include "darrowrectangle.h"/include <darrowrectangle.h>/' src/widgets/errortooltip.h +} + +build() { + cd dde-session-shell-$pkgver + cmake . -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd dde-session-shell-$pkgver + make DESTDIR="$pkgdir" install +}
