diff options
author | FabioLolix | 2023-06-18 16:26:47 +0200 |
---|---|---|
committer | FabioLolix | 2023-06-18 16:26:47 +0200 |
commit | bebfe6ac59ea2d61b74de7be8b00a44b49c88237 (patch) | |
tree | 30b1cae36a17593b05acbbc4a841491a32d07be7 /PKGBUILD | |
download | aur-ocaml4-ocamlbuild.tar.gz |
init
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..382d867feb8a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix +# Contributor: Alexander F. Rødseth <xyproto@archlinux.org> +# Contributor: Jürgen Hötzel <juergen@hoetzel.info> + +pkgname=ocaml4-ocamlbuild +pkgver=0.14.2 +pkgrel=1 +pkgdesc='Build tool, that has built-in rules for building OCaml library and programs' +arch=(x86_64) +url='https://github.com/ocaml/ocamlbuild' +license=(GPL2) +depends=(ocaml4) +options=(!makeflags) +source=("ocamlbuild-$pkgver.tar.gz::https://github.com/ocaml/ocamlbuild/archive/$pkgver.tar.gz") +b2sums=('d81613878f93f27c6de41461e6b3cebe0744a5204297725263a608cb129a708aaf6f27b444b97d68f2bde844a760f8e78647641f10eed61e727ef3936562cdea') + +build() { + cd "ocamlbuild-$pkgver" + make configure PREFIX=/usr MANDIR=/usr/share/man + make +} + +package() { + cd "ocamlbuild-$pkgver" + make DESTDIR="$pkgdir" install +} |