~alpine/aports

[alpine-aports] [PATCH] testing/ocaml-extlib: build and package ocaml-extlib documentation

Fernando Casas Schössow
Details
Message ID
<VI1PR0602MB324556543A5FAC868F2F7245A4680@VI1PR0602MB3245.eurprd06.prod.outlook.com>
Sender timestamp
1549550029
DKIM signature
missing
Download raw message
Patch: +3 -1
---
 testing/ocaml-extlib/APKBUILD | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/testing/ocaml-extlib/APKBUILD b/testing/ocaml-extlib/APKBUILD
index 6284eb7fce..0fc83e02d7 100644
--- a/testing/ocaml-extlib/APKBUILD
+++ b/testing/ocaml-extlib/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Fernando Casas Schossow <casasfernando@outlook.com>
 pkgname=ocaml-extlib
 pkgver=1.7.5
-pkgrel=0
+pkgrel=1
 pkgdesc="OCaml ExtLib additions to the standard library"
 url="https://github.com/ygrek/ocaml-extlib"
 arch="all"
@@ -15,6 +15,7 @@ builddir="$srcdir/extlib-$pkgver"
 build() {
 	cd "$builddir"
 	make build
+	make doc
 }
 
 check() {
@@ -29,6 +30,7 @@ package() {
 	mkdir -p "$OCAMLFIND_DESTDIR"
 	make install
 	install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+	install -D -m644 -t "$pkgdir/usr/share/doc/$pkgname/html/" src/doc/*
 }
 
 sha512sums="a2a368cf4f76b8a568b237efbb806bb6d16f9f46de1a3149d6381dadf9c464482276e160f9d4ae296f2540b6dd6f880a2cdb356133d31fa6001db4a392c3cb7f  extlib-1.7.5.tar.gz"
-- 
2.20.1



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---