aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/esptool/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/testing/esptool/APKBUILD b/testing/esptool/APKBUILD
index 6ee50d23eb..318e0d796a 100644
--- a/testing/esptool/APKBUILD
+++ b/testing/esptool/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer:
pkgname=esptool
pkgver=1.1
-pkgrel=1
+pkgrel=2
pkgdesc="ESP8266 ROM Bootloader utility"
url="https://github.com/themadinventor/esptool"
arch="noarch"
@@ -10,7 +10,7 @@ license="GPLv2"
depends="python py-serial py-setuptools"
makedepends="python-dev"
install=""
-subpackages=""
+subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/themadinventor/${pkgname}/archive/v${pkgver}.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
@@ -23,6 +23,10 @@ package() {
cd "$builddir"
python setup.py install --prefix=/usr \
--root="$pkgdir" || return 1
+
+ mkdir -p "$pkgdir"/usr/share/doc/$pkgname/
+ install -m644 CONTRIBUTING.md README.md \
+ "$pkgdir"/usr/share/doc/$pkgname/ || return 1
}
md5sums="9e0c14ced8182adf33808e5a80d7b88e esptool-1.1.tar.gz"