summaryrefslogtreecommitdiff
path: root/pcr/cppo/PKGBUILD
diff options
context:
space:
mode:
authorAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-05 20:47:38 +0200
committerAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-05 20:47:38 +0200
commit23684a95e4231db41505cd101bbb096c2ab477d6 (patch)
tree8c05b270798cdbde8f9402c607c76ded998da893 /pcr/cppo/PKGBUILD
parentf53c88cb355568d7346a1b3b898db03b2a2f56f2 (diff)
downloadabslibre-23684a95e4231db41505cd101bbb096c2ab477d6.tar.gz
abslibre-23684a95e4231db41505cd101bbb096c2ab477d6.tar.bz2
abslibre-23684a95e4231db41505cd101bbb096c2ab477d6.zip
cppo
Diffstat (limited to 'pcr/cppo/PKGBUILD')
-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"
+}