summaryrefslogtreecommitdiff
path: root/pcr/cppo
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-10-09 21:07:26 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-10-09 21:07:26 -0200
commit66174628313398909679b2a88cab535627fa4dc9 (patch)
treeb403b67e48e3504f7f8a0ea62c5fe5cc37c5f4cb /pcr/cppo
parentb42154133403f057f59444375480b78a8c922be6 (diff)
parent2161d99a0e246788462de5377c74142ff250172b (diff)
downloadabslibre-66174628313398909679b2a88cab535627fa4dc9.tar.gz
abslibre-66174628313398909679b2a88cab535627fa4dc9.tar.bz2
abslibre-66174628313398909679b2a88cab535627fa4dc9.zip
Merge branch 'master' of ssh://projects.parabola.nu/~git/abslibre
Diffstat (limited to 'pcr/cppo')
-rw-r--r--pcr/cppo/PKGBUILD21
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"
}