updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / canto-git / PKGBUILD
blob78a091878e032428d00a5bcc0e7de8bc0b140f7d
1 # Contributer: N30N <archlinux@alunamation.com>
3 pkgname=canto-git
4 pkgver=20101203
5 pkgrel=1
6 pkgdesc="A ncurses Atom/RSS/RDF aggregator"
7 url="http://codezen.org/canto/"
8 license="GPL"
9 arch=("i686" "x86_64")
10 makedepends=("python2" "git")
11 depends=("ncurses" "python2" "python2-chardet")
12 optdepends=("python2-feedparser: instead of built-in")
13 provides=("canto")
14 conflicts=("canto")
16 _gitroot="git://codezen.org/git/canto"
17 _gitname="canto"
19 build() {
20         msg "Connecting to the GIT server...."
21         if [ -d $_gitname ]; then
22                 (cd $_gitname && git pull origin)
23                 rm -rf ${_gitname}-build
24         else
25                 git clone $_gitroot
26         fi
28         cp -r ${_gitname} ${_gitname}-build
29         cd ${_gitname}-build
31         msg "Starting build process."
32         python2 setup.py install --root=${pkgdir}