[arch-commits] Commit in opam/repos/community-x86_64 (PKGBUILD PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Tue Nov 6 21:43:50 UTC 2018
Date: Tuesday, November 6, 2018 @ 21:43:50
Author: arodseth
Revision: 402255
archrelease: copy trunk to community-x86_64
Added:
opam/repos/community-x86_64/PKGBUILD
(from rev 402254, opam/trunk/PKGBUILD)
Deleted:
opam/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 68 +++++++++++++++++++++++++++++++++----------------------------
1 file changed, 37 insertions(+), 31 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-06 21:43:42 UTC (rev 402254)
+++ PKGBUILD 2018-11-06 21:43:50 UTC (rev 402255)
@@ -1,31 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Vincent B. <vb at luminar.eu.org>
-
-pkgname=opam
-pkgver=2.0.0
-pkgrel=3
-pkgdesc='OCaml package manager'
-arch=('x86_64')
-url='https://opam.ocaml.org/'
-license=('GPL')
-depends=('bubblewrap' 'ocaml-compiler-libs' 'unzip')
-optdepends=('darcs: For downloading packages with darcs'
- 'git: For downloading packages with git'
- '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')
-
-build() {
- cd "opam-full-$pkgver"
-
- ./configure --prefix=/usr
- make -j1 lib-ext all OCAMLC="ocamlc -unsafe-string" OCAMLOPT="ocamlopt -unsafe-string"
-}
-
-package() {
- make -C "opam-full-$pkgver" DESTDIR="$pkgdir" install
-}
-
-# getver: opam.ocaml.org
-# vim: ts=2 sw=2 et:
Copied: opam/repos/community-x86_64/PKGBUILD (from rev 402254, opam/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-11-06 21:43:50 UTC (rev 402255)
@@ -0,0 +1,37 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Vincent B. <vb at luminar.eu.org>
+
+pkgname=opam
+pkgver=2.0.1
+pkgrel=1
+pkgdesc='OCaml package manager'
+arch=('x86_64')
+url='https://opam.ocaml.org/'
+license=('GPL')
+depends=('bubblewrap' 'ocaml-compiler-libs' 'unzip')
+optdepends=('darcs: For downloading packages with darcs'
+ 'git: For downloading packages with git'
+ '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=('81f7f1b661a0c1e04642fe02d0bea5524b32aa2cbed0ecf9b18d7145324ed97c')
+
+build() {
+ cd "opam-full-$pkgver"
+ ./configure --prefix=/usr
+ 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"
+ rmdir "$pkgdir/usr/doc"
+}
+
+# getver: opam.ocaml.org
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list