diff options
author | Aurélien DESBRIÈRES <aurelien@hackers.camp> | 2014-10-09 16:19:39 +0200 |
---|---|---|
committer | Aurélien DESBRIÈRES <aurelien@hackers.camp> | 2014-10-09 16:19:39 +0200 |
commit | dd4118c9a1b8f2105d3c21515950ca206663842d (patch) | |
tree | c59fe75c8e649b6559efaddef71384305a6f3376 /pcr/cppo/PKGBUILD | |
parent | 10ca049f62f6bffb9be68f9ab81e63ca28b60d23 (diff) |
The C preprocessor written in OCaml
Diffstat (limited to 'pcr/cppo/PKGBUILD')
-rw-r--r-- | pcr/cppo/PKGBUILD | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/pcr/cppo/PKGBUILD b/pcr/cppo/PKGBUILD index 021e9db02..1957294c3 100644 --- a/pcr/cppo/PKGBUILD +++ b/pcr/cppo/PKGBUILD @@ -1,19 +1,19 @@ -# Contributor (Arch) : Leonard de Ruijter <leonard@aur.archlinux.org> -# Contributor (Arch) : Serge Zirukin <ftrvxmtrx@gmail.com> -# Contributor (Arch) : Justin Davis <jrcd 83 at gmail> -# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp> +# Maintainer : Aurélien DESBRIÈRES <aurelien@hackers.camp> +# Contributor: Leonard de Ruijter <leonard@aur.archlinux.org> +# Contributor: Serge Zirukin <ftrvxmtrx@gmail.com> +# Contributor: Justin Davis <jrcd 83 at gmail> pkgname=cppo -pkgver=0.9.3 -pkgrel=2 +pkgver=1.0.0 +pkgrel=1 pkgdesc="The C preprocessor written in OCaml" -arch=('i686' 'x86_64' 'mips64el') +arch=('i686' 'x86_64') license=('BSD') -makedepends=('ocaml') +depends=('glibc') +makedepends=('ocaml-findlib') url='http://mjambon.com/cppo.html' source=("http://mjambon.com/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz") - build() { cd $srcdir/$pkgname-$pkgver make @@ -21,6 +21,7 @@ build() { package() { cd $srcdir/$pkgname-$pkgver - mkdir -p "${pkgdir}/usr/bin" + mkdir -p "${pkgdir}/usr/bin" "$pkgdir$(ocamlfind printconf destdir)" + export OCAMLFIND_DESTDIR="$pkgdir$(ocamlfind printconf destdir)" make install BINDIR="${pkgdir}/usr/bin" } |