diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-10-05 14:58:41 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-10-05 14:58:46 +0200 |
commit | 5dfce8d7562a53807f2f0166a31e2370be6c947f (patch) | |
tree | 9bc2eeb41075cba1835e6728487b83a12f8891a8 /testing/esptool | |
parent | ca29f3833d6bc6ed00842e8ab373973da18da773 (diff) | |
download | aports-5dfce8d7562a53807f2f0166a31e2370be6c947f.tar.bz2 aports-5dfce8d7562a53807f2f0166a31e2370be6c947f.tar.xz |
testing/esptool: add -doc subpackage
Diffstat (limited to 'testing/esptool')
-rw-r--r-- | testing/esptool/APKBUILD | 8 |
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" |