diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/camlp5 |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/camlp5')
-rw-r--r-- | community/camlp5/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/community/camlp5/PKGBUILD b/community/camlp5/PKGBUILD new file mode 100644 index 000000000..53a221f3a --- /dev/null +++ b/community/camlp5/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Thomas Dziedzic < gostrc at gmail > +# Contributor: Nathan Owe <ndowens.aur at gmail dot com> + +pkgname=camlp5 +pkgver=6.02.0 +pkgrel=1 +pkgdesc='A preprocessor-pretty-printer of OCaml.' +arch=('i686' 'x86_64') +url='http://pauillac.inria.fr/~ddr/camlp5/' +license=('BSD') +depends=('sh') +makedepends=('ocaml') +conflicts=('camlp5-transitional') +source=("http://pauillac.inria.fr/~ddr/camlp5/distrib/src/${pkgname}-${pkgver}.tgz") +md5sums=('78ee9ea1b4f8e05af3f85fcbe14a7379') +options=('!makeflags') + +build() { + cd ${pkgname}-${pkgver} + + ./configure \ + -prefix '/usr' \ + -mandir '/usr/share/man' \ + -strict + + make world.opt +} + +package() { + cd ${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install + + install -D -m644 LICENSE \ + ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} |