[arch-commits] Commit in ocaml-findlib/repos (6 files)

Jürgen Hötzel juergen at archlinux.org
Fri Apr 28 09:12:52 UTC 2017


    Date: Friday, April 28, 2017 @ 09:12:51
  Author: juergen
Revision: 226172

archrelease: copy trunk to extra-x86_64, extra-i686

Added:
  ocaml-findlib/repos/extra-i686/
  ocaml-findlib/repos/extra-i686/PKGBUILD
    (from rev 226171, ocaml-findlib/trunk/PKGBUILD)
  ocaml-findlib/repos/extra-i686/makefile.patch
    (from rev 226171, ocaml-findlib/trunk/makefile.patch)
  ocaml-findlib/repos/extra-x86_64/
  ocaml-findlib/repos/extra-x86_64/PKGBUILD
    (from rev 226171, ocaml-findlib/trunk/PKGBUILD)
  ocaml-findlib/repos/extra-x86_64/makefile.patch
    (from rev 226171, ocaml-findlib/trunk/makefile.patch)

-----------------------------+
 extra-i686/PKGBUILD         |   46 ++++++++++++++++++++++++++++++++++++++++++
 extra-i686/makefile.patch   |   13 +++++++++++
 extra-x86_64/PKGBUILD       |   46 ++++++++++++++++++++++++++++++++++++++++++
 extra-x86_64/makefile.patch |   13 +++++++++++
 4 files changed, 118 insertions(+)

Copied: ocaml-findlib/repos/extra-i686/PKGBUILD (from rev 226171, ocaml-findlib/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2017-04-28 09:12:51 UTC (rev 226172)
@@ -0,0 +1,46 @@
+# $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.1
+pkgrel=2
+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=('5d4b9a79e9abf8be0b509f6b8cf5696221cbe14fa2fbb2bb352342755fd15eef')
+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/extra-i686/makefile.patch (from rev 226171, ocaml-findlib/trunk/makefile.patch)
===================================================================
--- extra-i686/makefile.patch	                        (rev 0)
+++ extra-i686/makefile.patch	2017-04-28 09:12:51 UTC (rev 226172)
@@ -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"
+ 

Copied: ocaml-findlib/repos/extra-x86_64/PKGBUILD (from rev 226171, ocaml-findlib/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2017-04-28 09:12:51 UTC (rev 226172)
@@ -0,0 +1,46 @@
+# $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.1
+pkgrel=2
+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=('5d4b9a79e9abf8be0b509f6b8cf5696221cbe14fa2fbb2bb352342755fd15eef')
+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/extra-x86_64/makefile.patch (from rev 226171, ocaml-findlib/trunk/makefile.patch)
===================================================================
--- extra-x86_64/makefile.patch	                        (rev 0)
+++ extra-x86_64/makefile.patch	2017-04-28 09:12:51 UTC (rev 226172)
@@ -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