# Maintainer: Jelle van der Waa # Contributor: Marcin (CTRL) Wieczorek # Contributor: Marcin Kornat # Contributor: MatejSpindler pkgname=esptool pkgver=4.1 pkgrel=1 pkgdesc="A cute Python utility to communicate with the ROM bootloader in Espressif ESP8266" arch=('any') url="https://github.com/espressif/esptool" license=('GPL2') makedepends=('git' 'python-setuptools' 'python-pip') depends=('python-pyserial' 'python-ecdsa' 'python-pyaes' 'python-bitstring' 'python-reedsolo') source=("https://github.com/espressif/esptool/archive/v${pkgver}.tar.gz") sha512sums=('b9df8d361fe1a97f0649fed03abc919df1c2ff118dc4dd05abeec641ba2d16e6c308894bd91657768e03a6801ec9e5393e573b4c3016b624e842fef7c6354b41') build() { cd "${pkgname}-${pkgver}" python3 setup.py build } package() { cd "${pkgname}-${pkgver}" python3 setup.py install --root="$pkgdir/" --optimize=1 --skip-build }