diff options
author | Esteban Carnevale <alfplayer@mailoo.org> | 2014-10-11 21:32:27 -0300 |
---|---|---|
committer | Esteban Carnevale <alfplayer@mailoo.org> | 2014-10-11 21:32:27 -0300 |
commit | 73878e9f6a2b86ebf66cf87ec145dc309c8520c4 (patch) | |
tree | add2354a374b3acde8a673f9250c3ff8d72d86dd /pcr/cppo/PKGBUILD | |
parent | d2556ce4d528b6a62d31b9f28cd37678f565f956 (diff) | |
parent | 4e75bcf04fa2ee23cbdc320bdf04af821616a6ee (diff) |
Merge branch 'master' of git://projects.parabola.nu/abslibre
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" } |