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

Evangelos Foutras foutrelis at archlinux.org
Fri Mar 6 16:52:57 UTC 2015


    Date: Friday, March 6, 2015 @ 17:52:56
  Author: foutrelis
Revision: 232952

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

Added:
  ocaml-ctypes/repos/extra-i686/
  ocaml-ctypes/repos/extra-i686/PKGBUILD
    (from rev 232951, ocaml-ctypes/trunk/PKGBUILD)
  ocaml-ctypes/repos/extra-x86_64/
  ocaml-ctypes/repos/extra-x86_64/PKGBUILD
    (from rev 232951, ocaml-ctypes/trunk/PKGBUILD)

-----------------------+
 extra-i686/PKGBUILD   |   34 ++++++++++++++++++++++++++++++++++
 extra-x86_64/PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)

Copied: ocaml-ctypes/repos/extra-i686/PKGBUILD (from rev 232951, ocaml-ctypes/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2015-03-06 16:52:56 UTC (rev 232952)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Armin K. <krejzi at email dot com>
+
+pkgname=ocaml-ctypes
+pkgver=0.3.4
+pkgrel=2
+pkgdesc="Library for binding to C libraries using pure OCaml"
+arch=('i686' 'x86_64')
+url="https://github.com/ocamllabs/ocaml-ctypes"
+license=('MIT')
+depends=('ocaml' 'libffi')
+makedepends=('ocaml-findlib')
+options=('!strip' '!makeflags')
+source=($pkgname-$pkgver::https://github.com/ocamllabs/ocaml-ctypes/archive/$pkgver.tar.gz)
+sha256sums=('95b3c21a0348d9e17a30d834926e17e39447e58fe31a9a49e6d0289a0fcd3c43')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  local _destdir="$pkgdir$(ocamlfind printconf destdir)"
+  install -d "$_destdir/stublibs"
+
+  make OCAMLFIND_DESTDIR="$_destdir" install
+
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: ocaml-ctypes/repos/extra-x86_64/PKGBUILD (from rev 232951, ocaml-ctypes/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2015-03-06 16:52:56 UTC (rev 232952)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Armin K. <krejzi at email dot com>
+
+pkgname=ocaml-ctypes
+pkgver=0.3.4
+pkgrel=2
+pkgdesc="Library for binding to C libraries using pure OCaml"
+arch=('i686' 'x86_64')
+url="https://github.com/ocamllabs/ocaml-ctypes"
+license=('MIT')
+depends=('ocaml' 'libffi')
+makedepends=('ocaml-findlib')
+options=('!strip' '!makeflags')
+source=($pkgname-$pkgver::https://github.com/ocamllabs/ocaml-ctypes/archive/$pkgver.tar.gz)
+sha256sums=('95b3c21a0348d9e17a30d834926e17e39447e58fe31a9a49e6d0289a0fcd3c43')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  local _destdir="$pkgdir$(ocamlfind printconf destdir)"
+  install -d "$_destdir/stublibs"
+
+  make OCAMLFIND_DESTDIR="$_destdir" install
+
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list