diff options
author | Stick | 2020-04-02 11:22:51 -0400 |
---|---|---|
committer | Stick | 2020-04-02 11:22:51 -0400 |
commit | af2a90f031c13a163137a063fa7ac3e1d545873e (patch) | |
tree | e99564d7312fd5f2f49fb13a1dfde927973754a1 | |
parent | 7eb684ca57dfa11395ea72e287a4dc3e906969fe (diff) | |
download | aur-python-locustio.tar.gz |
improve PKGBUILD
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = python-locustio pkgdesc = Scalable user load testing tool written in Python pkgver = 0.14.5 - pkgrel = 1 + pkgrel = 2 url = https://locust.io/ arch = any license = MIT @@ -17,7 +17,7 @@ pkgbase = python-locustio provides = python-locustio conflicts = python-locustio source = https://files.pythonhosted.org/packages/source/l/locustio/locustio-0.14.5.tar.gz - sha256sums = e4dae8d57de5d3d6ce7edcca71c8493cb9e62a104435788c8f92a00849bd0bc6 + sha256sums = 8ec934226e41ccfdf8d5609050cafcb6449ead09e8697104bfa86739a38dd036 pkgname = python-locustio @@ -4,7 +4,7 @@ pkgname=python-locustio _name=${pkgname#python-} pkgver=0.14.5 -pkgrel=1 +pkgrel=2 pkgdesc="Scalable user load testing tool written in Python" arch=('any') url='https://locust.io/' @@ -26,11 +26,11 @@ provides=("$pkgname") conflicts=("$pkgname") build() { - cd "$srcdir"/locustio-$pkgver + cd "$srcdir/$_name-$pkgver" python setup.py build } package() { - cd "$srcdir"/locustio-$pkgver + cd "$srcdir/$_name-$pkgver" python setup.py install --root="$pkgdir" --optimize=1 --skip-build } |