Added examples and installation to include docs/license

This commit is contained in:
Eric Renfro 2022-09-09 19:46:48 -04:00
parent 62b59b608c
commit f914ff0b57
Signed by: psi-jack
GPG key ID: 14977F3A50D9A5BF
9 changed files with 115 additions and 8 deletions

View file

@ -3,13 +3,12 @@
_pkgbase=xfce-session-target
pkgname=${_pkgbase}-git
pkgdesc='systemd Integration for xfce-session'
pkgver=1.3.0.r0.g577cf34
pkgver=1.3.1
pkgrel=1
arch=('any')
url="https://git.linux-help.org/infusix/${_pkgbase}"
license=('GPL')
makedepends=('coreutils' 'git')
#source=("${_pkgbase}-v$pkgver.tar.gz::$url/archive/${_pkgbase}-v$pkgver.tar.gz")
source=("${_pkgbase}::git+https://git.linux-help.org/infusix/${_pkgbase}.git")
sha256sums=('SKIP')
depends=('xfce4-session' 'systemd')
@ -21,10 +20,13 @@ pkgver() {
}
package() {
install -d $pkgdir/usr/lib/xfce4/session
install -d $pkgdir/usr/lib/systemd/user
install -d $pkgdir/etc/xdg/autostart
cp -f $srcdir/${_pkgbase}/src/*.sh $pkgdir/usr/lib/xfce4/session/
cp -f $srcdir/${_pkgbase}/src/*.target $pkgdir/usr/lib/systemd/user/
cp -f $srcdir/${_pkgbase}/src/*.desktop $pkgdir/etc/xdg/autostart/
install -d ${pkgdir}/usr/lib/xfce4/session
install -d ${pkgdir}/usr/lib/systemd/user
install -d ${pkgdir}/etc/xdg/autostart
install -d ${pkgdir}/usr/share/doc/${pkgname}
cp -f ${srcdir}/${_pkgbase}/src/*.sh ${pkgdir}/usr/lib/xfce4/session/
cp -f ${srcdir}/${_pkgbase}/src/*.target ${pkgdir}/usr/lib/systemd/user/
cp -f ${srcdir}/${_pkgbase}/src/*.desktop ${pkgdir}/etc/xdg/autostart/
cp -f ${srcdir}/${_pkgbase}/README $srcdir/${_pkgbase}/LICENSE ${pkgdir}/usr/share/doc/$pkgname/
cp -fR ${srcdir}/${_pkgbase}/examples ${pkgdir}/usr/share/doc/${pkgname}/
}

13
examples/barrier.service Normal file
View file

@ -0,0 +1,13 @@
[Unit]
Description=Barrier Service
PartOf=graphical-session.target
[Service]
Type=simple
Restart=always
RestartSec=1
ExecStartPre=/bin/sleep 5
ExecStart=/usr/bin/barrier
[Install]
WantedBy=graphical-session.target

View file

@ -0,0 +1,13 @@
[Unit]
Description=Bitwarden
PartOf=graphical-session.target
[Service]
Type=simple
Restart=always
RestartSec=1
ExecStartPre=/bin/sleep 5
ExecStart=/usr/bin/bitwarden-desktop
[Install]
WantedBy=graphical-session.target

View file

@ -0,0 +1,14 @@
[Unit]
Description=devilspie2 Service
PartOf=graphical-session.target
[Service]
Type=simple
Restart=always
RestartSec=1
ExecStartPre=/bin/sleep 3
ExecStart=/usr/bin/devilspie2 -d
[Install]
WantedBy=xfce-session.target

View file

@ -0,0 +1,13 @@
[Unit]
Description=Flameshot
PartOf=graphical-session.target
[Service]
Type=simple
Restart=always
RestartSec=1
ExecStartPre=/bin/sleep 5
ExecStart=/usr/bin/flameshot
[Install]
WantedBy=graphical-session.target

13
examples/kalu.service Normal file
View file

@ -0,0 +1,13 @@
[Unit]
Description=Kalu Update Notifications
PartOf=graphical-session.target
[Service]
Type=simple
Restart=always
RestartSec=1
ExecStartPre=/bin/sleep 5
ExecStart=/usr/bin/kalu
[Install]
WantedBy=graphical-session.target

View file

@ -0,0 +1,13 @@
[Unit]
Description=Nextcloud Client
PartOf=graphical-session.target
[Service]
Type=simple
Restart=always
RestartSec=1
ExecStartPre=/bin/sleep 15
ExecStart=/usr/bin/nextcloud
[Install]
WantedBy=graphical-session.target

13
examples/picom.service Normal file
View file

@ -0,0 +1,13 @@
[Unit]
Description=Picom Compositor
PartOf=graphical-session.target
[Service]
Type=simple
Restart=always
RestartSec=1
ExecStartPre=/bin/sleep 2
ExecStart=/usr/bin/picom
[Install]
WantedBy=xfce-session.target

13
examples/vorta.service Normal file
View file

@ -0,0 +1,13 @@
[Unit]
Description=Vorta Backup
PartOf=graphical-session.target
[Service]
Type=simple
Restart=always
RestartSec=1
ExecStartPre=/bin/sleep 15
ExecStart=/usr/bin/vorta
[Install]
WantedBy=graphical-session.target