diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 17 |
1 files changed, 13 insertions, 4 deletions
@@ -2,27 +2,36 @@ pkgname=nodemcu-uploader-git _gitname=nodemcu-uploader -pkgver=v0.4.3.r35.g3e07591 -pkgrel=2 -pkgdesc="Upload files to your esp8266 running nodeMcu" +pkgver=v1.0.0.r0.g6893b41 +pkgrel=1 +pkgdesc="tool for uploading files to the filesystem of an ESP8266 running NodeMCU." arch=("any") url="https://github.com/kmpm/nodemcu-uploader" license=('MIT') depends=('python-pyserial') makedepends=('git') -source=("git+https://github.com/kmpm/nodemcu-uploader.git") +provides=("${_gitname}") +conflicts=("${_gitname}") +source=("git+https://github.com/kmpm/nodemcu-uploader") sha256sums=('SKIP') + pkgver() { cd $_gitname + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build() { cd $_gitname + python setup.py build } + package() { cd $_gitname + python setup.py install --root="$pkgdir" --optimize=1 --skip-build install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE } + +# vim:set sw=2 ts=2 et: |