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

Laurent Carlier lcarlier at archlinux.org
Thu Nov 6 19:49:09 UTC 2014


    Date: Thursday, November 6, 2014 @ 20:49:09
  Author: lcarlier
Revision: 122065

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  ocaml-findlib/repos/community-testing-i686/
  ocaml-findlib/repos/community-testing-i686/PKGBUILD
    (from rev 122064, ocaml-findlib/trunk/PKGBUILD)
  ocaml-findlib/repos/community-testing-x86_64/
  ocaml-findlib/repos/community-testing-x86_64/PKGBUILD
    (from rev 122064, ocaml-findlib/trunk/PKGBUILD)

-----------------------------------+
 community-testing-i686/PKGBUILD   |   37 ++++++++++++++++++++++++++++++++++++
 community-testing-x86_64/PKGBUILD |   37 ++++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

Copied: ocaml-findlib/repos/community-testing-i686/PKGBUILD (from rev 122064, ocaml-findlib/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2014-11-06 19:49:09 UTC (rev 122065)
@@ -0,0 +1,37 @@
+# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
+# Contributor: Thomas S Hatch <thatch45 at gmail dot com>
+# Contributor: Sebastian Wiesner <lunaryorn googlemail com>
+# Contributor: Benjamin Andresen <benny(at)klapmuetz(dot)org>
+# Contributor: scj <scj archlinux us>
+
+pkgname=ocaml-findlib
+pkgver=1.5.3
+pkgrel=1
+license=('MIT')
+arch=('i686' 'x86_64')
+pkgdesc='Objective Caml (OCaml) package manager'
+url='http://projects.camlcity.org/projects/findlib.html'
+depends=('ocaml')
+source=("http://download.camlcity.org/download/findlib-$pkgver.tar.gz")
+options=('staticlibs' '!strip' 'zipman') # otherwise the bytecode gets broken
+md5sums=('687b9dfee7d9d380d2eabe62bab67f09')
+
+build() {
+  cd "$srcdir/findlib-$pkgver"
+
+  ./configure -config /etc/findlib.conf -sitelib /usr/lib/ocaml -mandir /usr/share/man
+  make all opt
+}
+
+package () {
+  cd "$srcdir/findlib-$pkgver"
+
+  make prefix="$pkgdir" install 
+
+  # add the old site-lib to the path to maintain compatibility with old style packages
+  sed -i 's/path=\"\/usr\/lib\/ocaml\"/path="\/usr\/lib\/ocaml:\/usr\/lib\/ocaml\/site-lib"/' \
+    "${pkgdir}/etc/findlib.conf"
+
+  install -m755 src/findlib/ocamlfind_opt "$pkgdir/usr/bin/"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Copied: ocaml-findlib/repos/community-testing-x86_64/PKGBUILD (from rev 122064, ocaml-findlib/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2014-11-06 19:49:09 UTC (rev 122065)
@@ -0,0 +1,37 @@
+# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
+# Contributor: Thomas S Hatch <thatch45 at gmail dot com>
+# Contributor: Sebastian Wiesner <lunaryorn googlemail com>
+# Contributor: Benjamin Andresen <benny(at)klapmuetz(dot)org>
+# Contributor: scj <scj archlinux us>
+
+pkgname=ocaml-findlib
+pkgver=1.5.3
+pkgrel=1
+license=('MIT')
+arch=('i686' 'x86_64')
+pkgdesc='Objective Caml (OCaml) package manager'
+url='http://projects.camlcity.org/projects/findlib.html'
+depends=('ocaml')
+source=("http://download.camlcity.org/download/findlib-$pkgver.tar.gz")
+options=('staticlibs' '!strip' 'zipman') # otherwise the bytecode gets broken
+md5sums=('687b9dfee7d9d380d2eabe62bab67f09')
+
+build() {
+  cd "$srcdir/findlib-$pkgver"
+
+  ./configure -config /etc/findlib.conf -sitelib /usr/lib/ocaml -mandir /usr/share/man
+  make all opt
+}
+
+package () {
+  cd "$srcdir/findlib-$pkgver"
+
+  make prefix="$pkgdir" install 
+
+  # add the old site-lib to the path to maintain compatibility with old style packages
+  sed -i 's/path=\"\/usr\/lib\/ocaml\"/path="\/usr\/lib\/ocaml:\/usr\/lib\/ocaml\/site-lib"/' \
+    "${pkgdir}/etc/findlib.conf"
+
+  install -m755 src/findlib/ocamlfind_opt "$pkgdir/usr/bin/"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


More information about the arch-commits mailing list