summaryrefslogtreecommitdiffstats
path: root/abs/extra/ocamlbuild/PKGBUILD
blob: eacd3b42ea7a9c7a30e77ef3414620eeed23d8f3 (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: Jürgen Hötzel <juergen@hoetzel.info>

pkgname=ocamlbuild
pkgver=0.13.1
pkgrel=2
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.04.0')
options=('!makeflags')
source=("https://github.com/ocaml/${pkgname}/archive/$pkgver.tar.gz")
sha1sums=('092907719d184ca5ada87958eea1866e83b0fd51')

build() {
  cd $pkgname-$pkgver
  make configure
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}