[arch-commits] Commit in ocaml-findlib/repos/community-x86_64 (5 files)

Jürgen Hötzel juergen at archlinux.org
Mon Jan 22 20:41:20 UTC 2018


    Date: Monday, January 22, 2018 @ 20:41:17
  Author: juergen
Revision: 285242

archrelease: copy trunk to community-x86_64

Added:
  ocaml-findlib/repos/community-x86_64/PKGBUILD
    (from rev 285240, ocaml-findlib/trunk/PKGBUILD)
  ocaml-findlib/repos/community-x86_64/externalmeta6.patch
    (from rev 285240, ocaml-findlib/trunk/externalmeta6.patch)
  ocaml-findlib/repos/community-x86_64/makefile.patch
    (from rev 285240, ocaml-findlib/trunk/makefile.patch)
Deleted:
  ocaml-findlib/repos/community-x86_64/PKGBUILD
  ocaml-findlib/repos/community-x86_64/makefile.patch

---------------------+
 PKGBUILD            |   98 ++++++++++++++++++++++++++------------------------
 externalmeta6.patch |   13 ++++++
 makefile.patch      |   26 ++++++-------
 3 files changed, 78 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-01-22 20:41:15 UTC (rev 285241)
+++ PKGBUILD	2018-01-22 20:41:17 UTC (rev 285242)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
-# Contributor: Lukas Fleischer <lfleischer at archlinux.org>
-# Contributor: Thomas S Hatch <thatch45 at gmail.com>
-# Contributor: Sebastian Wiesner <lunaryorn at googlemail.com>
-# Contributor: Benjamin Andresen <benny at klapmuetz.org>
-# Contributor: scj <scj at archlinux.us>
-# Contributor: Alif <alive4ever at live.com>
-
-pkgname=ocaml-findlib
-pkgver=1.7.3
-pkgrel=1
-pkgdesc='OCaml package manager'
-arch=('x86_64' 'i686')
-url='http://projects.camlcity.org/projects/findlib.html'
-license=('MIT')
-depends=('ocaml')
-makedepends=('setconf')
-source=("http://download.camlcity.org/download/findlib-$pkgver.tar.gz")
-sha256sums=('d196608fa23c36c2aace27d5ef124a815132a5fcea668d41fa7d6c1ca246bd8b')
-options=('staticlibs' '!strip' 'zipman' '!makeflags')
-
-build() {
-  cd "findlib-$pkgver"
-
-  ./configure \
-    -sitelib /usr/lib/ocaml \
-    -config /etc/findlib.conf \
-    -mandir /usr/share/man
-
-  make all opt
-}
-
-package () {
-  cd "findlib-$pkgver"
-
-  make prefix="$pkgdir" install
-
-  # Add a directory to the path for compatibility with old-style packages
-  #setconf "$pkgdir/etc/findlib.conf" path='"/usr/lib/ocaml:/usr/lib/ocaml-site-lib"'
-
-  install -m755 src/findlib/ocamlfind_opt "$pkgdir/usr/bin/"
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: ocaml-findlib/repos/community-x86_64/PKGBUILD (from rev 285240, ocaml-findlib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-01-22 20:41:17 UTC (rev 285242)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Thomas S Hatch <thatch45 at gmail.com>
+# Contributor: Sebastian Wiesner <lunaryorn at googlemail.com>
+# Contributor: Benjamin Andresen <benny at klapmuetz.org>
+# Contributor: scj <scj at archlinux.us>
+# Contributor: Alif <alive4ever at live.com>
+
+pkgname=ocaml-findlib
+pkgver=1.7.3
+pkgrel=2
+pkgdesc='OCaml package manager'
+arch=('x86_64')
+url='http://projects.camlcity.org/projects/findlib.html'
+license=('MIT')
+depends=('ocaml' 'ocaml-compiler-libs')
+makedepends=('setconf')
+source=("http://download.camlcity.org/download/findlib-$pkgver.tar.gz" "externalmeta6.patch")
+sha256sums=('d196608fa23c36c2aace27d5ef124a815132a5fcea668d41fa7d6c1ca246bd8b'
+            '6530279c403098b68d1b070c922590a2da63eb19bd9258203ccf98b0f3f6a09c')
+options=('staticlibs' '!strip' 'zipman' '!makeflags')
+
+prepare() {
+  cd "findlib-$pkgver"
+  patch -i "${srcdir}/externalmeta6.patch"
+}
+
+build() {
+  cd "findlib-$pkgver"
+
+  ./configure \
+    -sitelib /usr/lib/ocaml \
+    -config /etc/findlib.conf \
+    -mandir /usr/share/man
+
+  make all opt
+}
+
+package () {
+  cd "findlib-$pkgver"
+
+  make prefix="$pkgdir" install
+
+  # Add a directory to the path for compatibility with old-style packages
+  #setconf "$pkgdir/etc/findlib.conf" path='"/usr/lib/ocaml:/usr/lib/ocaml-site-lib"'
+
+  install -m755 src/findlib/ocamlfind_opt "$pkgdir/usr/bin/"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: ocaml-findlib/repos/community-x86_64/externalmeta6.patch (from rev 285240, ocaml-findlib/trunk/externalmeta6.patch)
===================================================================
--- externalmeta6.patch	                        (rev 0)
+++ externalmeta6.patch	2018-01-22 20:41:17 UTC (rev 285242)
@@ -0,0 +1,13 @@
+Index: findlib-1.7.2/configure
+===================================================================
+--- findlib-1.7.2.orig/configure
++++ findlib-1.7.2/configure
+@@ -557,7 +557,7 @@ fi
+ 
+ # Generate the META files now.
+ 
+-l="$ldbm dynlink graphics $lnum str threads unix stdlib bigarray ocamldoc $llabltk $lcamlp4 $lobuild $lcomplibs $lbytes $lspacetime"
++l="$ldbm dynlink graphics $lnum str threads unix stdlib bigarray ocamldoc $lcomplibs $lbytes $lspacetime"
+ 
+ for dir in site-lib-src/*; do
+     # We do not really know if $dir is a directory.

Deleted: makefile.patch
===================================================================
--- makefile.patch	2018-01-22 20:41:15 UTC (rev 285241)
+++ makefile.patch	2018-01-22 20:41:17 UTC (rev 285242)
@@ -1,13 +0,0 @@
-Index: b/Makefile
-===================================================================
---- a/Makefile
-+++ b/Makefile
-@@ -71,7 +71,7 @@ findlib.conf: findlib.conf.in
- 
- .PHONY: install-doc
- install-doc:
--	mkdir -p "$(prefix)$(OCAMLFIND_MAN)/man1" "$(prefix)$(OCAMLFIND_MAN)/man3 $(prefix)$(OCAMLFIND_MAN)/man5"
-+	mkdir -p "$(prefix)$(OCAMLFIND_MAN)/man1" "$(prefix)$(OCAMLFIND_MAN)/man3" "$(prefix)$(OCAMLFIND_MAN)/man5"
- 	-cp doc/ref-man/ocamlfind.1 "$(prefix)$(OCAMLFIND_MAN)/man1"
- 	-cp doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 "$(prefix)$(OCAMLFIND_MAN)/man5"
- 

Copied: ocaml-findlib/repos/community-x86_64/makefile.patch (from rev 285240, ocaml-findlib/trunk/makefile.patch)
===================================================================
--- makefile.patch	                        (rev 0)
+++ makefile.patch	2018-01-22 20:41:17 UTC (rev 285242)
@@ -0,0 +1,13 @@
+Index: b/Makefile
+===================================================================
+--- a/Makefile
++++ b/Makefile
+@@ -71,7 +71,7 @@ findlib.conf: findlib.conf.in
+ 
+ .PHONY: install-doc
+ install-doc:
+-	mkdir -p "$(prefix)$(OCAMLFIND_MAN)/man1" "$(prefix)$(OCAMLFIND_MAN)/man3 $(prefix)$(OCAMLFIND_MAN)/man5"
++	mkdir -p "$(prefix)$(OCAMLFIND_MAN)/man1" "$(prefix)$(OCAMLFIND_MAN)/man3" "$(prefix)$(OCAMLFIND_MAN)/man5"
+ 	-cp doc/ref-man/ocamlfind.1 "$(prefix)$(OCAMLFIND_MAN)/man1"
+ 	-cp doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 "$(prefix)$(OCAMLFIND_MAN)/man5"
+ 



More information about the arch-commits mailing list