xfce-session-target/PKGBUILD

23 lines
741 B
Bash

# Maintainer: Eric Renfro <psi-jack@linux-help.org>
pkgname=xfce-session-systemd
pkgdesc='systemd Integration for xfce-session'
pkgver=1.0
pkgrel=1
arch=('any')
url="https://git.linux-help.org/infusix/$pkgname"
license=('GPL')
makedepends=('coreutils')
source=("$pkgname-v$pkgver.tar.gz:$url/archive/$pkgname-v$pkgver.tar.gz")
sha256sums=('SKIP')
depends=('xfce4-session')
install=$pkgname.install
package() {
install -d $pkgdir/usr/lib/xfce4/session
install -d $pkgdir/etc/xdg/autostart
install -d $pkgdir/etc/systemd/user
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/
}