updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ocaml-tophide / PKGBUILD
blobb29251028329e5334d911ea13cc90ad8c042de00
1 # Maintainer: Taylor Venable <taylor@metasyntax.net>
3 srcname='tophide'
4 pkgname="ocaml-${srcname}"
5 pkgver=1.0.0
6 pkgrel=1
7 pkgdesc='Hides toplevel values whose name starts with an underscore'
8 arch=('i686' 'x86_64')
9 url='http://martin.jambon.free.fr/ocaml.html'
10 license=('BSD')
11 depends=('ocaml')
12 makedepends=('ocaml-findlib')
13 source=("http://martin.jambon.free.fr/${srcname}-${pkgver}.tar.bz2")
14 options=('!strip')
15 md5sums=('0bed079eceefc522e3cd15cc5e982b69')
17 build() {
18     cd "$srcdir/${srcname}-${pkgver}"
20     env PREFIX='/usr' make
24 package() {
25     mkdir -p "$pkgdir/$(ocamlfind printconf destdir)"
26     cd "$srcdir/${srcname}-${pkgver}"
28     env OCAMLFIND_DESTDIR="$pkgdir/$(ocamlfind printconf destdir)" \
29         make install
30     install -Dm 644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE