[arch-commits] Commit in (4 files)
Jürgen Hötzel
juergen at archlinux.org
Tue Aug 14 15:45:59 UTC 2018
Date: Tuesday, August 14, 2018 @ 15:45:58
Author: juergen
Revision: 331501
Add ocaml-integers
Fix invalid default-stubsdir when running opam-installer:
https://github.com/ocaml/opam/commit/718d6198e338069852dcdde067f56df236235370
Added:
ocaml-integers/
ocaml-integers/repos/
ocaml-integers/trunk/
ocaml-integers/trunk/PKGBUILD
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Added: ocaml-integers/trunk/PKGBUILD
===================================================================
--- ocaml-integers/trunk/PKGBUILD (rev 0)
+++ ocaml-integers/trunk/PKGBUILD 2018-08-14 15:45:58 UTC (rev 331501)
@@ -0,0 +1,30 @@
+# Maintainer: Jürgen Hötzel <juergen at archlinux.org>
+
+pkgname=ocaml-integers
+pkgver=0.2.2
+pkgrel=1
+pkgdesc='Library for binding to C libraries using pure OCaml'
+arch=('i686' 'x86_64')
+url=https://github.com/ocamllabs/ocaml-integers
+license=('custom')
+options=('!strip')
+makedepends=('ocaml-topkg' 'ocaml-findlib' 'ocaml-compiler-libs' 'ocamlbuild' 'opam')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ocamllabs/$pkgname/archive/v$pkgver.tar.gz")
+md5sums=('f966342ad19682d4d5ade1e202388a81')
+
+
+build() {
+ cd ${pkgname}-$pkgver
+ make
+}
+
+package() {
+ cd ${pkgname}-$pkgver
+
+ opam-installer --prefix="${pkgdir}/usr" \
+ --libdir="${pkgdir}$(ocamlc -where)" \
+ --docdir="${pkgdir}/usr/share/doc" \
+ --stubsdir="${pkgdir}$(ocamlc -where)/stublibs"
+
+ install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}"/LICENSE.md
+}
Property changes on: ocaml-integers/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list