summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/cppo/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/pcr/cppo/PKGBUILD b/pcr/cppo/PKGBUILD
new file mode 100644
index 000000000..601882a8a
--- /dev/null
+++ b/pcr/cppo/PKGBUILD
@@ -0,0 +1,26 @@
+# 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>
+
+pkgname=cppo
+pkgver=0.9.3
+pkgrel=2
+pkgdesc="The C preprocessor written in OCaml"
+arch=('i686' 'x86_64')
+license=('BSD')
+makedepends=('ocaml')
+url='http://mjambon.com/cppo.html'
+source=("http://mjambon.com/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ mkdir -p "${pkgdir}/usr/bin"
+ make install BINDIR="${pkgdir}/usr/bin"
+}