[arch-commits] Commit in ocaml-stdlib-shims/repos/community-x86_64 (PKGBUILD PKGBUILD)

Jürgen Hötzel juergen at gemini.archlinux.org
Tue Jul 27 16:02:26 UTC 2021


    Date: Tuesday, July 27, 2021 @ 16:02:26
  Author: juergen
Revision: 987818

archrelease: copy trunk to community-x86_64

Added:
  ocaml-stdlib-shims/repos/community-x86_64/PKGBUILD
    (from rev 987817, ocaml-stdlib-shims/trunk/PKGBUILD)
Deleted:
  ocaml-stdlib-shims/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   80 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 40 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-27 16:02:18 UTC (rev 987817)
+++ PKGBUILD	2021-07-27 16:02:26 UTC (rev 987818)
@@ -1,40 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Peukert <daniel at peukert.cc>
-
-_projectname='stdlib-shims'
-pkgname="ocaml-$_projectname"
-pkgver=0.3.0
-pkgrel=1
-pkgdesc='Shim to substitute `Pervasives` with `Stdlib` before 4.08'
-arch=('x86_64')
-url="https://github.com/ocaml/$_projectname"
-license=('custom:LGPL2.1 with linking exception')
-depends=('ocaml')
-makedepends=('dune')
-options=('!strip')
-source=("$pkgname-$pkgver-$pkgrel.tar.gz::$url/archive/$pkgver.tar.gz")
-sha256sums=('6d0386313a021146300011549180fcd4e94f7ac3c3bf021ff165f6558608f0c2')
-
-_sourcedirectory="$_projectname-$pkgver"
-
-build() {
-	cd "$srcdir/$_sourcedirectory/"
-	dune build -p "$_projectname" --verbose
-}
-
-check() {
-	cd "$srcdir/$_sourcedirectory/"
-	dune runtest -p "$_projectname" --verbose
-}
-
-package() {
-	cd "$srcdir/$_sourcedirectory/"
-	DESTDIR="$pkgdir" dune install --prefix '/usr' --libdir 'lib/ocaml'
-
-	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" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: ocaml-stdlib-shims/repos/community-x86_64/PKGBUILD (from rev 987817, ocaml-stdlib-shims/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-07-27 16:02:26 UTC (rev 987818)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Peukert <daniel at peukert.cc>
+
+_projectname='stdlib-shims'
+pkgname="ocaml-$_projectname"
+pkgver=0.3.0
+pkgrel=2
+pkgdesc='Shim to substitute `Pervasives` with `Stdlib` before 4.08'
+arch=('x86_64')
+url="https://github.com/ocaml/$_projectname"
+license=('custom:LGPL2.1 with linking exception')
+depends=('ocaml')
+makedepends=('dune')
+options=('!strip')
+source=("$pkgname-$pkgver-$pkgrel.tar.gz::$url/archive/$pkgver.tar.gz")
+sha256sums=('6d0386313a021146300011549180fcd4e94f7ac3c3bf021ff165f6558608f0c2')
+
+_sourcedirectory="$_projectname-$pkgver"
+
+build() {
+	cd "$srcdir/$_sourcedirectory/"
+	dune build -p "$_projectname" --verbose
+}
+
+check() {
+	cd "$srcdir/$_sourcedirectory/"
+	dune runtest -p "$_projectname" --verbose
+}
+
+package() {
+	cd "$srcdir/$_sourcedirectory/"
+	DESTDIR="$pkgdir" dune install --prefix '/usr' --libdir 'lib/ocaml'
+
+	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" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list