updated on Sat Jan 21 04:00:54 UTC 2012
[aur-mirror.git] / stiler / PKGBUILD
blobb5ca40c5ea68e3053db0eca8095c6ff7bda4fcbb
1 # Contributor: Your Name <unohu0@gmail.com>
2 pkgname=stiler
3 pkgver=20090328
4 pkgrel=1
5 pkgdesc="A simple python script to convert any wm to tiling wm"
6 arch=(any)
7 url="http://bbs.archlinux.org/viewtopic.php?id=64100"
8 license=('BSD')
9 depends=(wmctrl xdotool python)
10 makedepends=(git)
11 provides=(stiler)
12 md5sums=() #generate with 'makepkg -g'
14 _gitroot="git://github.com/TheWanderer/stiler.git"
15 _gitname="stiler"
17 build() {
18   cd "$srcdir"
19   msg "Connecting to GIT server...."
21   if [ -d $_gitname ] ; then
22     cd $_gitname && git pull origin
23     msg "The local files are updated."
24   else
25     git clone $_gitroot
26   fi
28   msg "GIT checkout done or server timeout"
30   install -D -m644   $srcdir/stiler/README $pkgdir/usr/share/doc/stiler/README
31   install -D -m755   $srcdir/stiler/stiler.py $pkgdir/usr/bin/stiler
33