diff options
author | Daniel Peukert | 2020-06-02 00:18:23 +0200 |
---|---|---|
committer | Daniel Peukert | 2020-06-02 00:18:23 +0200 |
commit | ef43d9bd211a3a56a1214b7a0d5c4bd1b33fbe44 (patch) | |
tree | 3b1d7c7179b7ae24a1b15d0f5a83f38927d4d53f /PKGBUILD | |
parent | 720b2311ccd688c68179878392f7183bd40e87cd (diff) | |
download | aur-ef43d9bd211a3a56a1214b7a0d5c4bd1b33fbe44.tar.gz |
Updated janestreet packages
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -2,29 +2,29 @@ # Contributor: Jakob Gahde <j5lx@fmail.co.uk> _projectname='ppx_optcomp' pkgname="ocaml-$_projectname" -pkgver='0.13.0' -pkgrel='2' +pkgver='0.14.0' +pkgrel='1' epoch='1' pkgdesc='Optional compilation for OCaml' arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64') url="https://github.com/janestreet/$_projectname" license=('MIT') -depends=('ocaml>=4.04.2' 'ocaml-base>=0.13.0' 'ocaml-stdio>=0.13.0' 'ocaml-ppxlib>=0.9.0') -makedepends=('dune>=1.5.1') +depends=('ocaml>=4.04.2' 'ocaml-base>=0.14.0' 'ocaml-stdio>=0.14.0' 'ocaml-ppxlib>=0.11.0') +makedepends=('dune>=2.0.0') options=('!strip') source=("$pkgname-$epoch:$pkgver-$pkgrel.tar.gz::$url/archive/v$pkgver.tar.gz") -sha256sums=('3af35caf56a66c12f9080ff46fe6c5c3b84f1eda3c1c860a20061ab3b57e56e5') +sha256sums=('c313d573059f35045754d134c316a4e7d9b5af8cef85719af312086304bb7464') _sourcedirectory="$_projectname-$pkgver" build() { cd "$srcdir/$_sourcedirectory/" - dune build -p "$_projectname" --verbose + dune build --release --verbose } package() { cd "$srcdir/$_sourcedirectory/" - DESTDIR="$pkgdir" dune install --prefix '/usr' --libdir 'lib/ocaml' + DESTDIR="$pkgdir" dune install --prefix '/usr' --libdir 'lib/ocaml' --release --verbose install -dm755 "$pkgdir/usr/share/doc/$pkgname" mv "$pkgdir/usr/doc/$_projectname/"* "$pkgdir/usr/share/doc/$pkgname/" |