summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}