summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 382d867feb8ad57e08b1bde0156052884252a2e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
}