summaryrefslogtreecommitdiff
path: root/pcr/opam/PKGBUILD
diff options
context:
space:
mode:
authorAurelien Desbrieres <aurelien@hackers.camp>2014-12-15 15:26:15 +0100
committerAurelien Desbrieres <aurelien@hackers.camp>2014-12-15 15:26:15 +0100
commitea4df6dd12266ec56d5691ae77271a27c122dd55 (patch)
tree4a4914f8562ea52988516fb923eaed875a4f440c /pcr/opam/PKGBUILD
parentccf3b5914f4cb3a2ed75812e4bdba9ae7c189e6c (diff)
OCaml Package Manager
Diffstat (limited to 'pcr/opam/PKGBUILD')
-rw-r--r--pcr/opam/PKGBUILD18
1 files changed, 10 insertions, 8 deletions
diff --git a/pcr/opam/PKGBUILD b/pcr/opam/PKGBUILD
index 517153048..ac240b221 100644
--- a/pcr/opam/PKGBUILD
+++ b/pcr/opam/PKGBUILD
@@ -1,23 +1,25 @@
-# Contributor (Arch) : Vincent B. <vb@luminar.eu.org>
-# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
+# Maintainer : Aurelien Desbriers <aurelien@hackers.camp>
+# Contributor: Vincent B. <vb@luminar.eu.org>
pkgname=opam
-pkgver=1.1.1
+pkgver=1.2.0
pkgrel=1
pkgdesc="OCaml Package Manager"
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
-url="http://opam.ocamlpro.com"
+url="http://opam.ocaml.org"
license=('GPL')
depends=('ocaml' 'aspcud')
-source=(http://www.ocamlpro.com/pub/${pkgname}-full-${pkgver}.tar.gz)
+source=( https://github.com/ocaml/opam/releases/download/${pkgver}/opam-full-${pkgver}.tar.gz)
+
build() {
- cd ${srcdir}/${pkgname}-full-${pkgver}
+ cd ${srcdir}/opam-full-${pkgver}
./configure --prefix=/usr
- make
+ make -j1 lib-ext
+ make -j1
}
package() {
- cd ${srcdir}/${pkgname}-full-${pkgver}
+ cd ${srcdir}/opam-full-${pkgver}
make DESTDIR="$pkgdir/" install
}