summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 54428d1145737da42f4c31bd8141f36febb16a9c (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
# Maintainer:  Liam Timms <timms5000@gmail.com>
pkgname=python-ci-info
_name=${pkgname#python-}
pkgver=0.3.0
pkgrel=1
pkgdesc="A Python implementation of watson/ci-info. Data on Continuous Integration environment."
arch=('any')
url='https://github.com/mgxd/ci-info'
license=('MIT')
depends=('python-pytest')
makedepends=()
optdepends=()
source=("${_name}-${pkgver}.tar.gz::https://github.com/mgxd/${_name}/archive/${pkgver}.tar.gz")
md5sums=('8f7a197c94f02cdc2ac0054425cf4290')

build() {
  cd "$srcdir/$_name-$pkgver"
  python setup.py build
}

package() {
  cd "$srcdir/$_name-$pkgver"
  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}