Date: Monday, October 4, 2021 @ 19:19:26 Author: arojas Revision: 1027651
extra2community: Moving ocamlbuild from extra to community Added: ocamlbuild/ ocamlbuild/repos/ ocamlbuild/trunk/ ocamlbuild/trunk/PKGBUILD ----------+ PKGBUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) Added: ocamlbuild/trunk/PKGBUILD =================================================================== --- ocamlbuild/trunk/PKGBUILD (rev 0) +++ ocamlbuild/trunk/PKGBUILD 2021-10-04 19:19:26 UTC (rev 1027651) @@ -0,0 +1,24 @@ +# Maintainer: Jürgen Hötzel <juer...@hoetzel.info> + +pkgname=ocamlbuild +pkgver=0.14.0 +pkgrel=10 +pkgdesc='Build tool, that has built-in rules for building OCaml library and programs' +arch=('x86_64') +license=('GPL2') +url='https://github.com/ocaml/ocamlbuild/releases' +depends=('ocaml>=4.12.0') +options=('!makeflags') +source=($pkgname-$pkgver.tar.gz::"https://github.com/ocaml/${pkgname}/archive/$pkgver.tar.gz") +sha256sums=('87b29ce96958096c0a1a8eeafeb6268077b2d11e1bf2b3de0f5ebc9cf8d42e78') + +build() { + cd $pkgname-$pkgver + make configure PREFIX="/usr" MANDIR="/usr/share/man" + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +}