xfce-session-systemd-v1.0

This commit is contained in:
Eric Renfro 2022-09-04 21:54:33 -04:00
parent fdcf1b8f84
commit 0be222a7b4
Signed by: psi-jack
GPG key ID: 14977F3A50D9A5BF
2 changed files with 11 additions and 5 deletions

View file

@ -2,20 +2,22 @@
pkgname=xfce-session-systemd pkgname=xfce-session-systemd
pkgdesc='systemd Integration for xfce-session' pkgdesc='systemd Integration for xfce-session'
pkgver=1.0.0 pkgver=1.0
pkgrel=1 pkgrel=1
arch=('any') arch=('any')
url="https://git.linux-help.org/infusix/$pkgname" url="https://git.linux-help.org/infusix/$pkgname"
license=('GPL') license=('GPL')
makedepends=('coreutils') makedepends=('coreutils')
source=("$pkgname-$pkgver.tar.gz::$url/-/archive/$pkgver/$pkgname-$pkgver.tar.gz") source=("$pkgname-v$pkgver.tar.gz:$url/archive/$pkgname-v$pkgver.tar.gz")
sha256sums=('SKIP') sha256sums=('SKIP')
depends=('xfce4-session') depends=('xfce4-session')
install=$pkgname.install install=$pkgname.install
package() { package() {
install -d $pkgdir/usr/lib/xfce4/session install -d $pkgdir/usr/lib/xfce4/session
install -d $pkfdir/etc/xdg/autostart install -d $pkgdir/etc/xdg/autostart
cp -f $srcdir/src/*.sh $pkgdir/usr/lib/xfce4/session/ install -d $pkgdir/etc/systemd/user
cp -f $srcdir/src/*.desktop $pkgdir/etc/xdg/autostart/ cp -f $srcdir/$pkgname/src/*.sh $pkgdir/usr/lib/xfce4/session/
cp -f $srcdir/$pkgname/src/*.desktop $pkgdir/etc/xdg/autostart/
cp -f $srcdir/$pkgname/src/*.target $pkgdir/etc/systemd/user/
} }

4
src/xfce-session.target Normal file
View file

@ -0,0 +1,4 @@
[Unit]
Description=XFCE Session Running
BindsTo=graphical-session.target