[arch-commits] Commit in (4 files)
Jürgen Hötzel
juergen at archlinux.org
Tue Aug 14 15:44:05 UTC 2018
Date: Tuesday, August 14, 2018 @ 15:44:04
Author: juergen
Revision: 331499
Add ocaml-topkg
New dependency: ocaml-ctypes -> ocaml-topkg
Added:
ocaml-topkg/
ocaml-topkg/repos/
ocaml-topkg/trunk/
ocaml-topkg/trunk/PKGBUILD
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Added: ocaml-topkg/trunk/PKGBUILD
===================================================================
--- ocaml-topkg/trunk/PKGBUILD (rev 0)
+++ ocaml-topkg/trunk/PKGBUILD 2018-08-14 15:44:04 UTC (rev 331499)
@@ -0,0 +1,28 @@
+# Maintainer: Jürgen Hötzel <juergen at archlinux.org>
+pkgname=ocaml-topkg
+pkgver=0.9.1
+pkgrel=1
+pkgdesc="A packager for distributing OCaml software"
+arch=('x86_64')
+url="http://erratique.ch/software/topkg"
+license=('BSD')
+depends=('ocaml' 'ocaml-result')
+makedepends=('ocaml-findlib' 'ocamlbuild' 'opam' 'ocaml-compiler-libs')
+source=("http://erratique.ch/software/topkg/releases/topkg-${pkgver}.tbz")
+md5sums=('8978a0595db1a22e4251ec62735d4b84')
+
+build() {
+ cd "${srcdir}/topkg-${pkgver}"
+
+ pkg/pkg.ml build --pkg-name topkg
+}
+
+package() {
+ cd "${srcdir}/topkg-${pkgver}"
+
+ opam-installer --prefix="${pkgdir}/usr" \
+ --libdir="${pkgdir}$(ocamlc -where)" \
+ --docdir="${pkgdir}/usr/share/doc"
+ install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
+ mv "${pkgdir}/usr/share/doc/topkg/LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
+}
Property changes on: ocaml-topkg/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list