# Maintainer (AUR): robertfoster # Contributor (AUR): Sigmund Vestergaard # Contributor (AUR): Denis Wernert # Contributor (AUR): Jakob Gahde # Maintainer: Omar Vega Ramos # parabola changes and rationale: # no changes. pkgname=ocaml-ssl pkgver=0.5.7 pkgrel=2 pkgdesc="OCaml SSL Library" arch=('i686' 'x86_64') arch+=('armv7h') url="http://savonet.sourceforge.net/" license=('custom') depends=('ocaml' 'openssl') makedepends=('bubblewrap' 'dune' 'ocaml-findlib' 'opam') source=("$pkgname-$pkgver.tar.gz::https://github.com/savonet/ocaml-ssl/archive/$pkgver.tar.gz") options=(!libtool !strip zipman !makeflags staticlibs) build() { cd $pkgname-$pkgver make } package() { cd ${pkgname}-${pkgver} # Initialize OPAM, this should be removed once opam is “removed” from dune #export OPAMROOT="${srcdir}"/opam #opam init --bare -n # Work around the install command OCAMLFIND_DESTDIR="${pkgdir}$(ocamlfind printconf destdir)" jbuilder install --prefix=${pkgdir}/usr/share # Install LICENSE mkdir -p $pkgdir/usr/share/licenses/$pkgname/ awk 'BEGIN{P=0} /License/ {P = 1;} {if (P) print}' README.md > $pkgdir/usr/share/licenses/$pkgname/license } md5sums=('47ce60f1a019ddb9c66c4f1c8b9ed862')