Added examples and installation to include docs/license
This commit is contained in:
parent
62b59b608c
commit
f914ff0b57
9 changed files with 115 additions and 8 deletions
18
PKGBUILD
18
PKGBUILD
|
@ -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
13
examples/barrier.service
Normal 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
|
13
examples/bitwarden.service
Normal file
13
examples/bitwarden.service
Normal 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
|
14
examples/devilspie2.service
Normal file
14
examples/devilspie2.service
Normal 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
|
||||
|
13
examples/flameshot.service
Normal file
13
examples/flameshot.service
Normal 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
13
examples/kalu.service
Normal 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
|
13
examples/nextcloud.service
Normal file
13
examples/nextcloud.service
Normal 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
13
examples/picom.service
Normal 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
13
examples/vorta.service
Normal 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
|
Loading…
Reference in a new issue