[arch-commits] Commit in ocaml-base/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jürgen Hötzel
juergen at gemini.archlinux.org
Tue Aug 9 20:29:05 UTC 2022
Date: Tuesday, August 9, 2022 @ 20:29:05
Author: juergen
Revision: 1264557
archrelease: copy trunk to community-x86_64
Added:
ocaml-base/repos/community-x86_64/PKGBUILD
(from rev 1264556, ocaml-base/trunk/PKGBUILD)
Deleted:
ocaml-base/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 72 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 36 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-09 20:28:42 UTC (rev 1264556)
+++ PKGBUILD 2022-08-09 20:29:05 UTC (rev 1264557)
@@ -1,36 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Peukert <daniel at peukert.cc>
-# Contributor: Jakob Gahde <j5lx at fmail.co.uk>
-
-_projectname='base'
-pkgname="ocaml-$_projectname"
-pkgver=0.15.0
-pkgrel=1
-pkgdesc='Full standard library replacement for OCaml'
-arch=('x86_64')
-url="https://github.com/janestreet/$_projectname"
-license=('MIT')
-depends=('ocaml>=4.13.1' 'ocaml-sexplib0')
-makedepends=('dune')
-options=('!strip')
-source=("$pkgname-$pkgver-$pkgrel.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('56da1a3089ba94eb68aaa38a9c7ebc8ba4dcb290bbf8906bf68c463163560545')
-
-_sourcedirectory="$_projectname-$pkgver"
-
-build() {
- cd "$srcdir/$_sourcedirectory/"
- OCAMLPATH=/usr/lib/ocaml dune build --release --verbose
-}
-
-package() {
- cd "$srcdir/$_sourcedirectory/"
- DESTDIR="$pkgdir" dune install --prefix '/usr' --libdir '/usr/lib/ocaml' --release --verbose
-
- install -dm755 "$pkgdir/usr/share/doc/$pkgname"
- mv "$pkgdir/usr/doc/$_projectname/"* "$pkgdir/usr/share/doc/$pkgname/"
- rm -r "$pkgdir/usr/doc/"
-
- install -dm755 "$pkgdir/usr/share/licenses/$pkgname"
- ln -sf "/usr/share/doc/$pkgname/LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
-}
Copied: ocaml-base/repos/community-x86_64/PKGBUILD (from rev 1264556, ocaml-base/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-09 20:29:05 UTC (rev 1264557)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Peukert <daniel at peukert.cc>
+# Contributor: Jakob Gahde <j5lx at fmail.co.uk>
+
+_projectname='base'
+pkgname="ocaml-$_projectname"
+pkgver=0.15.0
+pkgrel=2
+pkgdesc='Full standard library replacement for OCaml'
+arch=('x86_64')
+url="https://github.com/janestreet/$_projectname"
+license=('MIT')
+depends=('ocaml>=4.14.0' 'ocaml-sexplib0')
+makedepends=('dune' 'ocaml-compiler-libs')
+options=('!strip')
+source=("$pkgname-$pkgver-$pkgrel.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('56da1a3089ba94eb68aaa38a9c7ebc8ba4dcb290bbf8906bf68c463163560545')
+
+_sourcedirectory="$_projectname-$pkgver"
+
+build() {
+ cd "$srcdir/$_sourcedirectory/"
+ OCAMLPATH=/usr/lib/ocaml dune build --release
+}
+
+package() {
+ cd "$srcdir/$_sourcedirectory/"
+ DESTDIR="$pkgdir" dune install --prefix '/usr' --libdir '/usr/lib/ocaml' --release
+
+ install -dm755 "$pkgdir/usr/share/doc/$pkgname"
+ mv "$pkgdir/usr/doc/$_projectname/"* "$pkgdir/usr/share/doc/$pkgname/"
+ rm -r "$pkgdir/usr/doc/"
+
+ install -dm755 "$pkgdir/usr/share/licenses/$pkgname"
+ ln -sf "/usr/share/doc/$pkgname/LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
+}
More information about the arch-commits
mailing list