summaryrefslogtreecommitdiff
path: root/pcr/opam/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-06-06 13:36:45 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-06-06 13:36:45 -0300
commitd1e161df4f6111d527c2570958ebaf637411e3e2 (patch)
tree4231f47e1699769d42f49cccde20687be979e89a /pcr/opam/PKGBUILD
parent84b75f29126e52357bbdd40860269d9197fd68fd (diff)
parenta93d4a7da5c55af8f8669fdb63194c0680e0f748 (diff)
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/opam/PKGBUILD')
-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: