summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b01b207e93f8037ca38854bebfe555c3bc042620 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Maintainer: Christophe-Marie Duquesne <chm.duquesne@gmail.com>

pkgname=python2-skypipe-git
pkgver=20120901
pkgrel=1
pkgdesc="netcat through dotcoud"
arch=(any)
url="https://github.com/progrium/skypipe"
license=('MIT')
depends=('python2' 'python2-colorama' 'python2-pyzmq-static'
         'python2-requests')
makedepends=('git')
provides=('skypipe')
conflicts=('skypipe')

_gitroot="https://github.com/progrium/skypipe.git"
_gitname="skypipe"

build() {
  cd "$srcdir"
  msg "Connecting to GIT server..."

  if [ -d $_gitname ] ; then
    cd $_gitname && git pull origin
    msg "The local files are updated."
  else
    git clone $_gitroot $_gitname
  fi

  msg "Running the install script..."
  cd "$srcdir/$_gitname"
  ls
  python2 setup.py install --root="${pkgdir}" --optimize=1
}