Skip to content
Snippets Groups Projects
Commit 4120945c authored by rubicon's avatar rubicon Committed by omni
Browse files

community/ocaml-csexp: move from testing

parent 2cd2d465
No related branches found
No related tags found
Loading
# Contributor: rubicon <rubicon@mailo.com>
# Maintainer: rubicon <rubicon@mailo.com>
pkgname=ocaml-csexp
_pkgname=csexp
pkgver=1.5.1
pkgrel=2
pkgdesc="Parsing and printing of S-expressions in Canonical form"
url="https://github.com/ocaml-dune/csexp"
arch="all !riscv64" # limited by ocaml aport
arch="all !riscv64" # limited by ocaml aport
license="MIT"
depends="ocaml-runtime"
depends_dev="$pkgname=$pkgver-r$pkgrel"
options="!check" # requires ppx_expect
makedepends="dune ocaml ocaml-findlib ocamlbuild"
options="!check" # requires ppx_expect
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/ocaml-dune/csexp/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
builddir="$srcdir/csexp-$pkgver"
# 32-bit archs
case "$CARCH" in
......@@ -45,14 +44,14 @@ dev() {
cd "$pkgdir"
local path; for path in $(find usr/lib/ocaml \( \
local path; find usr/lib/ocaml \( \
-name '*.cmt' -o \
-name '*.cmti' -o \
-name '*.cmx' -o \
-name '*.cmxa' -o \
-name '*.ml' -o \
-name '*.mli' \
\))
\) | while read -r path
do
amove "$path"
done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment