updated on Sat Jan 21 04:00:54 UTC 2012
[aur-mirror.git] / ocaml-mascot / PKGBUILD
blob3ab2791589540beb669b1e6ad0c37a10470d7b24
1 # Maintainer: Sergei Lebedev <superbobry@gmail.com>
3 pkgname=ocaml-mascot
4 pkgver=1.0
5 _pkgver="$pkgver-beta"
6 pkgrel=1
7 pkgdesc="Style checker for OCaml sources"
8 arch=("i686" "x86_64")
9 url="http://mascot.x9c.fr"
10 license=('GPL')
11 depends=('ocaml>=3.12.1')
12 makedepends=('ocaml-findlib')
13 options=("!strip !makeflags")
14 source=("http://mascot.x9c.fr/distrib/mascot-$_pkgver.tar.gz")
15 md5sums=('d24b8cadb46b18ee9f0ab0c391252a88')
16 install=ocaml-mascot.install
19 build() {
20   cd "$srcdir/${pkgname/ocaml-/}-$_pkgver"
21   sh configure -ocaml-prefix /usr
22   make all
25 package() {
26   cd "$srcdir/${pkgname/ocaml-/}-$_pkgver"
27   export OCAMLFIND_DESTDIR="$pkgdir$(ocamlfind printconf destdir)"
28   install -dm 755 "$OCAMLFIND_DESTDIR"
29   make install