summaryrefslogtreecommitdiff
path: root/pcr/opam
diff options
context:
space:
mode:
authorAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-05 23:16:57 +0200
committerAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-05 23:16:57 +0200
commita4c0efd3c07f1d45185800f861d7c8b8fbf3c994 (patch)
tree2d593aa649ce53e8613c0757bc543c7f50de1eb3 /pcr/opam
parentfa3df7fc1c9020380bec148853bc1b290a69a3e6 (diff)
opam
Diffstat (limited to 'pcr/opam')
-rw-r--r--pcr/opam/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/pcr/opam/PKGBUILD b/pcr/opam/PKGBUILD
new file mode 100644
index 000000000..517153048
--- /dev/null
+++ b/pcr/opam/PKGBUILD
@@ -0,0 +1,24 @@
+# Contributor (Arch) : Vincent B. <vb@luminar.eu.org>
+# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+pkgname=opam
+pkgver=1.1.1
+pkgrel=1
+pkgdesc="OCaml Package Manager"
+arch=('i686' 'x86_64' 'armv6h' 'armv7h')
+url="http://opam.ocamlpro.com"
+license=('GPL')
+depends=('ocaml' 'aspcud')
+source=(http://www.ocamlpro.com/pub/${pkgname}-full-${pkgver}.tar.gz)
+build() {
+ cd ${srcdir}/${pkgname}-full-${pkgver}
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-full-${pkgver}
+ make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et: