Added examples and installation to include docs/license

master 1.3.1
Eric Renfro 3 months ago
parent 62b59b608c
commit f914ff0b57
Signed by: psi-jack
GPG Key ID: 14977F3A50D9A5BF
  1. 18
      PKGBUILD
  2. 13
      examples/barrier.service
  3. 13
      examples/bitwarden.service
  4. 14
      examples/devilspie2.service
  5. 13
      examples/flameshot.service
  6. 13
      examples/kalu.service
  7. 13
      examples/nextcloud.service
  8. 13
      examples/picom.service
  9. 13
      examples/vorta.service

@ -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}/
}

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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
Loading…
Cancel
Save