summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 017c9e16d815a079ee09352aab9b689fd0b8d0e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Andrew Rabert <ar@nullsum.net>

pkgname=python-async-executor
pkgver=0.1.2
pkgrel=1
pkgdesc="Async execution pool"
url='https://github.com/nvllsvm/async-executor'
arch=('any')
license=('MIT')
depends=('python')
makedepends=('python-setuptools')
source=(https://github.com/nvllsvm/async-executor/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
sha512sums=('e3b62201bea6633988fb318f62931f1f4107fa3293ba5003aa066f4ed2f775514e5ecdcedb489162d65e8f18460c0558d2841d8b0144fa5c996b38402b7255ba')

build() {
  cd async-executor-${pkgver}
  python setup.py build
}

package(){
  cd async-executor-${pkgver}
  python setup.py install -O1 --root="${pkgdir}" --prefix=/usr --skip-build
}