summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4fa90f8942ec5a15da687e28a13f2c7c9e48893c (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
# Maintainer:  Razer <razer@neuf.fr>

pkgname=python-pyserial-asyncio
_pypi_pkgname=pyserial-asyncio
pkgver=0.5
pkgrel=0
pkgdesc="Asyncio extension package for pyserial "
arch=(any)
url="https://github.com/pyserial/pyserial-asyncio"
license=('BSD')
depends=('python-pyserial')
source=("https://pypi.io/packages/source/p/${_pypi_pkgname}/${_pypi_pkgname}-${pkgver}.tar.gz")
sha256sums=('1641e5433a866eeaf6464b3ab88b741e7a89dd8cd0f851b3343b15f425138d33')

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

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