Updated PKGBUILD
This commit is contained in:
parent
577cf348a4
commit
62b59b608c
1 changed files with 18 additions and 11 deletions
29
PKGBUILD
29
PKGBUILD
|
@ -1,23 +1,30 @@
|
||||||
# Maintainer: Eric Renfro <psi-jack@linux-help.org>
|
# Maintainer: Eric Renfro <psi-jack@linux-help.org>
|
||||||
|
|
||||||
pkgname=xfce-session-systemd
|
_pkgbase=xfce-session-target
|
||||||
|
pkgname=${_pkgbase}-git
|
||||||
pkgdesc='systemd Integration for xfce-session'
|
pkgdesc='systemd Integration for xfce-session'
|
||||||
pkgver=1.3
|
pkgver=1.3.0.r0.g577cf34
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="https://git.linux-help.org/infusix/$pkgname"
|
url="https://git.linux-help.org/infusix/${_pkgbase}"
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
makedepends=('coreutils')
|
makedepends=('coreutils' 'git')
|
||||||
source=("$pkgname-v$pkgver.tar.gz::$url/archive/$pkgname-v$pkgver.tar.gz")
|
#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')
|
sha256sums=('SKIP')
|
||||||
depends=('xfce4-session')
|
depends=('xfce4-session' 'systemd')
|
||||||
install=$pkgname.install
|
#install=${_pkgbase}.install
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd "${srcdir}/${_pkgbase}"
|
||||||
|
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
|
||||||
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
install -d $pkgdir/usr/lib/xfce4/session
|
install -d $pkgdir/usr/lib/xfce4/session
|
||||||
install -d $pkgdir/usr/lib/systemd/user
|
install -d $pkgdir/usr/lib/systemd/user
|
||||||
install -d $pkgdir/etc/xdg/autostart
|
install -d $pkgdir/etc/xdg/autostart
|
||||||
cp -f $srcdir/$pkgname/src/*.sh $pkgdir/usr/lib/xfce4/session/
|
cp -f $srcdir/${_pkgbase}/src/*.sh $pkgdir/usr/lib/xfce4/session/
|
||||||
cp -f $srcdir/$pkgname/src/*.target $pkgdir/usr/lib/systemd/user/
|
cp -f $srcdir/${_pkgbase}/src/*.target $pkgdir/usr/lib/systemd/user/
|
||||||
cp -f $srcdir/$pkgname/src/*.desktop $pkgdir/etc/xdg/autostart/
|
cp -f $srcdir/${_pkgbase}/src/*.desktop $pkgdir/etc/xdg/autostart/
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue