summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: daeb6014feae47907c004c22d13c3b6f0cb1f073 (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
# Maintainer: Jack O'Connor <oconnor663@gmail.com>

pkgname=peru-git
pkgdesc='A tool for fetching code'
url='https://github.com/buildinspace/peru'
license=('MIT')
pkgver=612.b80e0b3
pkgver() {
  cd "$srcdir/peru"
  echo $(git rev-list --count master).$(git rev-parse --short master)
}
pkgrel=1
arch=('any')
# Asyncio and pathlib are standard in Python 3.4, so they're not in the
# dependencies list.
depends=(python python-yaml python-docopt git)
makedepends=(python-setuptools)
optdepends=(
  'mercurial: fetching from hg repos'
  'subversion: fetching from svn repos'
)
conflicts=(peru)
source=('git://github.com/buildinspace/peru')
md5sums=('SKIP')

package() {
  cd "$srcdir/peru"
  python3 setup.py install --root="$pkgdir"
}