# Contributor: Sören Tempel # Maintainer: pkgname=esptool pkgver=1.1 pkgrel=1 pkgdesc="ESP8266 ROM Bootloader utility" url="https://github.com/themadinventor/esptool" arch="noarch" license="GPLv2" depends="python py-serial py-setuptools" makedepends="python-dev" install="" subpackages="" source="$pkgname-$pkgver.tar.gz::https://github.com/themadinventor/${pkgname}/archive/v${pkgver}.tar.gz" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" python setup.py build || return 1 } package() { cd "$builddir" python setup.py install --prefix=/usr \ --root="$pkgdir" || return 1 } md5sums="9e0c14ced8182adf33808e5a80d7b88e esptool-1.1.tar.gz" sha256sums="c059fea707d1fb05ac3febf1dd6e5a74a8fbb42168bced15a079a228b292c30d esptool-1.1.tar.gz" sha512sums="869c073cdd2e58f93e3731de28582e57351e22d326cf88eb7f8014f399c2ed1c33ab94607eea60e0dd0f46527f878d69af61db2c9990f956c695e52dadf5cbe8 esptool-1.1.tar.gz"