updated on Sat Jan 21 20:03:50 UTC 2012
[aur-mirror.git] / ttb / PKGBUILD
blobeae2c766a380e76cb3de0f204ae8c28e9b00ee4e
1 # Maintainer: archtux <antonio.arias99999@gmail.com>
3 pkgname=ttb
4 pkgrel=1
5 pkgver=20101101
6 pkgdesc="Browser for Teletekst pages in The Netherlands"
7 arch=('i686' 'x86_64')
8 url="http://www.djcbsoftware.nl/code/ttb/"
9 license=('GPL3')
10 depends=('pygtk')
11 makedepends=('git')
14 _gitroot="git://gitorious.org/ttb/mainline.git"
15 _gitname="ttb"
18 build() {
19   cd ${srcdir}
20   msg "Connecting to GIT server...."
22   if [ -d ${srcdir}/$_gitname ] ; then
23         cd $_gitname && git pull origin
24         msg "The local files are updated."
25   else
26         git clone $_gitroot
27   fi
29   msg "GIT checkout done or server timeout"
30   msg "Starting make..."
32   cd $srcdir/mainline
33   python2 setup.py install --prefix=/usr --root=$pkgdir
34