Mail archive
alpine-aports

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

From: Fernando Casas Schössow <casasfernando_at_outlook.com>
Date: Thu, 7 Feb 2019 14:15:28 +0000

---
 testing/ocaml-curses/APKBUILD | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/testing/ocaml-curses/APKBUILD b/testing/ocaml-curses/APKBUILD
index faf329351e..bfb0c1d244 100644
--- a/testing/ocaml-curses/APKBUILD
+++ b/testing/ocaml-curses/APKBUILD
_at_@ -2,12 +2,12 @@
 # Maintainer: Fernando Casas Schossow <casasfernando_at_outlook.com>
 pkgname=ocaml-curses
 pkgver=1.0.4
-pkgrel=1
+pkgrel=2
 pkgdesc="OCaml bindings for ncurses"
 url="https://www.nongnu.org/ocaml-tmk/"
 arch="all"
 license="LGPL-2.1"
-makedepends="autoconf automake libtool ocaml ocaml-findlib-dev gawk ncurses-dev"
+makedepends="autoconf automake libtool ocaml ocaml-findlib-dev gawk ncurses-dev ocaml-ocamldoc"
 subpackages="$pkgname-dev $pkgname-doc"
 source="http://download.savannah.nongnu.org/releases/ocaml-tmk/ocaml-curses-1.0.4.tar.gz"
 builddir="$srcdir/$pkgname-$pkgver"
_at_@ -17,6 +17,7 @@ build() {
 	autoreconf
 	./configure --prefix=/usr --enable-widec
 	make all opt
+	make htdoc
 }
 
 check() {
_at_@ -32,6 +33,7 @@ package() {
 	mkdir -p "$OCAMLFIND_DESTDIR" "$OCAMLFIND_DESTDIR/stublibs"
 	ocamlfind install curses META *.cmi *.cmx *.cma *.cmxa *.a *.so *.mli
 	install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+	install -D -m644 -t "$pkgdir/usr/share/doc/$pkgname/html/" doc/curses/html/*
 }
 
 sha512sums="a49838f1d32bf96fda6c612ac1b38316f61c49aa015e61e49681eacf863234f36ffe71d4305dd34f8e3b0a5dc6d9757919a107bcfdf46bd90df128e975560948  ocaml-curses-1.0.4.tar.gz"
-- 
2.20.1
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Thu Feb 07 2019 - 14:15:28 UTC