[arch-commits] Commit in (4 files)

Evangelos Foutras foutrelis at archlinux.org
Fri Mar 6 16:42:29 UTC 2015


    Date: Friday, March 6, 2015 @ 17:42:28
  Author: foutrelis
Revision: 232950

Add new package ocaml-ctypes; needed for llvm-ocaml 3.6.0

Added:
  ocaml-ctypes/
  ocaml-ctypes/repos/
  ocaml-ctypes/trunk/
  ocaml-ctypes/trunk/PKGBUILD

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Added: ocaml-ctypes/trunk/PKGBUILD
===================================================================
--- ocaml-ctypes/trunk/PKGBUILD	                        (rev 0)
+++ ocaml-ctypes/trunk/PKGBUILD	2015-03-06 16:42:28 UTC (rev 232950)
@@ -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=0
+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:


Property changes on: ocaml-ctypes/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list