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

Felix Yan felixonmars at gemini.archlinux.org
Mon Jun 6 17:56:23 UTC 2022


    Date: Monday, June 6, 2022 @ 17:56:22
  Author: felixonmars
Revision: 1226976

archrelease: copy trunk to community-x86_64

Added:
  ocaml-sexplib0/repos/community-x86_64/PKGBUILD
    (from rev 1226975, ocaml-sexplib0/trunk/PKGBUILD)
Deleted:
  ocaml-sexplib0/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   72 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 36 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-06 17:56:10 UTC (rev 1226975)
+++ PKGBUILD	2022-06-06 17:56:22 UTC (rev 1226976)
@@ -1,36 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Peukert <dan.peukert at gmail.com>
-# Contributor: Jakob Gahde <j5lx at fmail.co.uk>
-
-_projectname='sexplib0'
-pkgname="ocaml-$_projectname"
-pkgver=0.14.0
-pkgrel=5
-pkgdesc='Library containing the definition of S-expressions and some base converters'
-arch=('x86_64')
-url="https://github.com/janestreet/$_projectname"
-license=('MIT')
-depends=('ocaml>=4.13.1')
-makedepends=('dune')
-options=('!strip')
-source=("$pkgname-$pkgver-$pkgrel.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('1e2d1c27015809d816d1c707abfbc61f6b55830dedec01de8152d10ab7d6a19e')
-
-_sourcedirectory="$_projectname-$pkgver"
-
-build() {
-	cd "$srcdir/$_sourcedirectory/"
-	dune build --release --verbose
-}
-
-package() {
-	cd "$srcdir/$_sourcedirectory/"
-	DESTDIR="$pkgdir" dune install --prefix '/usr' --libdir '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-sexplib0/repos/community-x86_64/PKGBUILD (from rev 1226975, ocaml-sexplib0/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-06-06 17:56:22 UTC (rev 1226976)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Peukert <dan.peukert at gmail.com>
+# Contributor: Jakob Gahde <j5lx at fmail.co.uk>
+
+_projectname='sexplib0'
+pkgname="ocaml-$_projectname"
+pkgver=0.15.0
+pkgrel=1
+pkgdesc='Library containing the definition of S-expressions and some base converters'
+arch=('x86_64')
+url="https://github.com/janestreet/$_projectname"
+license=('MIT')
+depends=('ocaml>=4.13.1')
+makedepends=('dune')
+options=('!strip')
+source=("$pkgname-$pkgver-$pkgrel.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('3d2c06dc35b64a3662dfd3cc433dd419ebf5d7c6c3c7c796a4105747d371627f')
+
+_sourcedirectory="$_projectname-$pkgver"
+
+build() {
+	cd "$srcdir/$_sourcedirectory/"
+	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"
+}



More information about the arch-commits mailing list