[arch-commits] Commit in opam/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Tue Nov 6 19:04:21 UTC 2018
Date: Tuesday, November 6, 2018 @ 19:04:20
Author: arodseth
Revision: 401910
upgpkg: opam 2.0.1-1
Modified:
opam/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-06 19:04:06 UTC (rev 401909)
+++ PKGBUILD 2018-11-06 19:04:20 UTC (rev 401910)
@@ -2,8 +2,8 @@
# Contributor: Vincent B. <vb at luminar.eu.org>
pkgname=opam
-pkgver=2.0.0
-pkgrel=3
+pkgver=2.0.1
+pkgrel=1
pkgdesc='OCaml package manager'
arch=('x86_64')
url='https://opam.ocaml.org/'
@@ -14,17 +14,21 @@
'mercurial: For downloading packages with mercurial'
'rsync: For downloading packages with rsync')
source=("https://github.com/ocaml/opam/releases/download/$pkgver/opam-full-$pkgver.tar.gz")
-sha256sums=('9dad4fcb4f53878c9daa6285d8456ccc671e21bfa71544d1f926fb8a63bfed25')
+sha256sums=('81f7f1b661a0c1e04642fe02d0bea5524b32aa2cbed0ecf9b18d7145324ed97c')
build() {
cd "opam-full-$pkgver"
-
./configure --prefix=/usr
- make -j1 lib-ext all OCAMLC="ocamlc -unsafe-string" OCAMLOPT="ocamlopt -unsafe-string"
+ make \
+ OCAMLC='ocamlc -unsafe-string' \
+ OCAMLOPT='ocamlopt -unsafe-string' \
+ lib-ext all -j1
}
package() {
make -C "opam-full-$pkgver" DESTDIR="$pkgdir" install
+ install -d "$pkgdir/usr/share/doc"
+ mv "$pkgdir/usr/doc/opam-installer" "$pkgdir/usr/share/doc/opam"
}
# getver: opam.ocaml.org
More information about the arch-commits
mailing list