1 # Maintainer: Max Gonzih <iam@gonzih.org>
2 # Contributor Diego José <diegoxter1006@gmail.com>
7 pkgdesc="PlexyDesk is a Desktop extension which lets you efficiently use your desktop background."
9 url="http://www.plexyplanet.org/"
12 makedepends=('git' 'cmake')
13 provides=('plexydesk')
14 conflicts=('plexydesk' 'plexydesk-svn')
16 _gitroot=https://github.com/siraj/plexydesk.git
21 msg "Connecting to GIT server...."
23 if [[ -d "$_gitname" ]]; then
24 cd "$_gitname" && git pull origin
25 msg "The local files are updated."
27 git clone "$_gitroot" "$_gitname"
30 msg "GIT checkout done or server timeout"
31 msg "Starting build..."
33 rm -rf "$srcdir/$_gitname-build"
34 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
35 cd "$srcdir/$_gitname-build"
37 cmake -DCMAKE_INSTALL_PREFIX=/usr/ .
42 cd "$srcdir/$_gitname-build"
43 make DESTDIR="$pkgdir/" install