summaryrefslogtreecommitdiffstats
path: root/abs/extra/ocamlbuild/PKGBUILD
blob: 25fa3980a83eadb9d1fbbfc6a0879438ac27bae3 (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
27
# $Id$
# Maintainer: Jürgen Hötzel <juergen@hoetzel.info>

pkgname=ocamlbuild
pkgver=0.9.3
pkgrel=1
pkgdesc='Build tool, that has built-in rules for building OCaml library and programs'
arch=('x86_64' 'i686')
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=('16d15d90689b3748a2727e02e03c99a8c2d9ccc7')

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

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