diff options
-rw-r--r-- | community/ocaml-lablgtk/APKBUILD | 29 |
1 files changed, 11 insertions, 18 deletions
diff --git a/community/ocaml-lablgtk/APKBUILD b/community/ocaml-lablgtk/APKBUILD index f051827872..7884dc91fb 100644 --- a/community/ocaml-lablgtk/APKBUILD +++ b/community/ocaml-lablgtk/APKBUILD @@ -2,20 +2,22 @@ # Maintainer: Jean-Louis Fuchs <ganwell@fangorn.ch> pkgname=ocaml-lablgtk _pkgname=lablgtk -pkgver=2.18.5 -pkgrel=4 -pkgdesc="LablGtk - an OCaml interface to GTK+ 2.x" +pkgver=2.18.6 +pkgrel=0 +pkgdesc="An OCaml interface to GTK+ 2.x" url="http://lablgtk.forge.ocamlcore.org/" # ocaml is not built for x86, armhf arch="x86_64 ppc64le" license="LGPL-2.1-only-WITH-linking-exception" -depends="ocaml-findlib ocaml-camlp4 ocaml" -depends_dev="lablgtk gtk+-dev gtkspell-dev librsvg-dev gtksourceview2-dev" -makedepends="$depends_dev ocaml-camlp4-dev" +depends="ocaml-runtime" +depends_dev="$pkgname=$pkgver-r$pkgrel + gtk+-dev gtkspell-dev librsvg-dev gtksourceview2-dev" +makedepends="$depends_dev ocaml ocaml-compiler-libs ocaml-ocamldoc + ocaml-camlp4-dev ocaml-findlib" replaces="lablgtk" provides="lablgtk=$pkgver-r$pkgrel" # for backward compatibility -subpackages="$pkgname-doc $pkgname-dev" -source="https://forge.ocamlcore.org/frs/download.php/1627/$_pkgname-$pkgver.tar.gz" +subpackages="$pkgname-dev" +source="https://forge.ocamlcore.org/frs/download.php/1726/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" options="!check textrels" @@ -25,7 +27,6 @@ build() { ./configure --prefix=/usr make -j1 world make -j1 opt - make doc } package() { @@ -35,12 +36,4 @@ package() { rm -f "$pkgdir"/usr/lib/ocaml/ld.conf } -doc() { - default_doc - - local docdir="$subpkgdir"/usr/share/doc/$pkgname/ - mkdir -p "$docdir" - cp -r "$builddir"/doc/html/* "$docdir"/ -} - -sha512sums="7b6ba1a4dfa82cc3bbc502082ff4fccc23cc06ee4f30d01a2e423f3f99e945a4befe450d230b5aa19c5b810e9f46f2838655099d49da2db7c8a2e52eac213024 lablgtk-2.18.5.tar.gz" +sha512sums="0d30da0e4a93b1693ac6d63161d40c8cd6d9337e105a65f3cc01b013ce7ca04aa5e1a013527cb0728a9b7b7af20d0f4c8b0cc7f9102e553dff3cf8bc83a14e5e lablgtk-2.18.6.tar.gz" |