# Maintainer: Evangelos Foutras # Contributor: tobias pkgname=xfce4-session pkgver=4.18.2 pkgrel=1 pkgdesc="Xfce's session manager" arch=('x86_64') url="https://docs.xfce.org/xfce/xfce4-session/start" license=('GPL2') groups=('xfce4') depends=('libxfce4ui' 'libwnck3' 'xfconf' 'libsm' 'polkit' 'xorg-iceauth' 'xorg-xinit' 'xorg-xrdb' 'polkit-gnome' 'hicolor-icon-theme') makedepends=('intltool') optdepends=('gnome-keyring: for keyring support when GNOME compatibility is enabled' 'xfce4-screensaver: for locking screen with xflock4' 'xscreensaver: for locking screen with xflock4' 'light-locker: for locking screen with xflock4') source=(https://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2 source-system-xinitrc-scripts.patch xfce-polkit-gnome-authentication-agent-1.desktop) sha256sums=('01ff7fe8d4c2091adefc2925c6b7bb93152ba0732e95c9b9e64d8207fdbdeb8a' '6f14d529e4c4f30cd547110bd444cee8dc70c90511a397de18acb6c1fd63ea3e' '74c94c5f7893d714e04ec7d8b8520c978a5748757a0cdcf5128492f09f31b643') prepare() { cd $pkgname-$pkgver # https://bugzilla.xfce.org/show_bug.cgi?id=15440 patch -Np1 -i ../source-system-xinitrc-scripts.patch } build() { cd $pkgname-$pkgver ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-debug make } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install # Provide a default PolicyKit Authentication Agent (FS#42569) install -d "$pkgdir/etc/xdg/autostart" cp "$srcdir/xfce-polkit-gnome-authentication-agent-1.desktop" \ "$pkgdir/etc/xdg/autostart/" } # vim:set ts=2 sw=2 et: