1 # Maintainer: Peter Lewis <plewis@aur.archlinux.org>
2 pkgname=awesome-scratchpad-git
5 pkgdesc="Scratchpad functionality for Awesome WM."
7 url="http://git.sysphere.org/awesome-configs/tree/scratch"
20 md5sums=() #generate with 'makepkg -g'
22 _gitroot="http://git.sysphere.org/awesome-configs"
23 _gitname="awesome-configs"
27 msg "Connecting to GIT server...."
29 if [ -d $_gitname ] ; then
30 cd $_gitname && git pull origin
31 msg "The local files are updated."
33 git clone $_gitroot $_gitname
36 msg "GIT checkout done or server timeout"
40 cd "$srcdir/$_gitname/scratch"
42 install -Dm644 "drop.lua" "$pkgdir/usr/share/awesome/lib/scratch/drop.lua"
43 install -Dm644 "init.lua" "$pkgdir/usr/share/awesome/lib/scratch/init.lua"
44 install -Dm644 "pad.lua" "$pkgdir/usr/share/awesome/lib/scratch/pad.lua"