1 # Maintainer: Raphael Scholer <rscholer@gmx.de>
5 pkgdesc="Useful bindings and functions for awesome"
7 url="http://github.com/rscholer/radical"
9 depends=('awesome' 'procps')
10 optdepends=('dmenu: dmenu support')
13 _gitroot="git://github.com/rscholer/radical.git"
18 msg "Connecting to GIT server...."
20 if [ -d $_gitname ] ; then
21 cd $_gitname && git pull origin
22 msg "The local files are updated."
24 git clone $_gitroot $_gitname
27 msg "GIT checkout done or server timeout"
28 msg "Starting make..."
30 rm -rf "$srcdir/$_gitname-build"
31 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
32 cd "$srcdir/$_gitname-build"
36 cd "$srcdir/$_gitname-build"
38 find ./doc -type f -exec chmod 644 "{}" \;
39 find ./doc -type d -exec chmod 755 "{}" \;
40 install --verbose -m 755 -d $pkgdir/usr/share/doc/radical
41 mv --verbose ./doc/* $pkgdir/usr/share/doc/radical/
42 install --verbose -m 755 -d $pkgdir/usr/share/awesome/lib/radical
43 install --verbose -m 664 ./src/*.lua $pkgdir/usr/share/awesome/lib/radical