1 # Maintainer: Alex Charron <undeterminant@gmail.com>
2 pkgname=custom-session-git
5 pkgdesc="Tools for managing a custom user session."
7 url="https://github.com/Undeterminant/custom-session"
9 depends=('python' 'consolekit')
11 optdepends=('xorg-server: for the default session wrapper')
12 backup=('etc/custom-session-wrapper')
14 _gitroot="https://github.com/Undeterminant/custom-session.git"
15 _gitname="custom-session"
19 msg "Connecting to GIT server...."
21 if [[ -d "$_gitname" ]]; then
22 cd "$_gitname" && git pull origin
23 msg "The local files are updated."
25 git clone "$_gitroot" "$_gitname"
28 msg "GIT checkout done or server timeout"
29 msg "Starting build..."
31 rm -rf "$srcdir/$_gitname-build"
32 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
33 cd "$srcdir/$_gitname-build"
37 cd "$srcdir/$_gitname-build"
38 make DESTDIR="$pkgdir/" install
41 # vim:set ts=2 sw=2 et: