diff options
Diffstat (limited to 'pcr/cppo')
-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" } |