updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / rattlekekz-git / PKGBUILD
blob5ec0faa944cbed1573800bc2d4967da84fe6091e
1 # Contributor: raubkopierer <mail[dot]sensenmann[at]googlemail[dot]com>
2 pkgname=rattlekekz-git
3 pkgver=20110121
4 pkgrel=1
5 pkgdesc="crumbled chatclient written in python"
6 url="http://github.com/Jem777/rattlekekz"
7 arch=('i686' 'x86_64')
8 license=('GPL' 'LGPL')
9 depends=('python2' 'twisted' 'python-urwid' 'pyopenssl' 'python2-bert-git')
10 makedepends=('git' 'python2')
12 _gitroot="git://github.com/Jem777/rattlekekz.git"
13 _gitname="rattlekekz"
15 build() {
16   cd ${srcdir}
17   msg "Connecting to github.com GIT server...."
19   if [ -d ${srcdir}/$_gitname ] ; then
20   cd $_gitname && git pull origin
21   msg "The local files are updated."
22   else
23   git clone $_gitroot
24   fi
26   msg "GIT checkout done or server timeout"
27   msg "Starting make..."
29   cd ${srcdir}/${_gitname}
30   python2 setup.py install --prefix ${pkgdir}/usr
31