[arch-commits] Commit in ocaml-csexp/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jürgen Hötzel
juergen at gemini.archlinux.org
Tue Jul 27 15:49:30 UTC 2021
Date: Tuesday, July 27, 2021 @ 15:49:30
Author: juergen
Revision: 987780
archrelease: copy trunk to community-x86_64
Added:
ocaml-csexp/repos/community-x86_64/PKGBUILD
(from rev 987779, ocaml-csexp/trunk/PKGBUILD)
Deleted:
ocaml-csexp/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 58 +++++++++++++++++++++++++++++-----------------------------
1 file changed, 29 insertions(+), 29 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-07-27 15:49:18 UTC (rev 987779)
+++ PKGBUILD 2021-07-27 15:49:30 UTC (rev 987780)
@@ -1,29 +0,0 @@
-# Maintainer: Konstantin Gizdov <arch at kge dot pw>
-_pkgname='csexp'
-pkgname="ocaml-${_pkgname}"
-pkgver=1.3.2
-pkgrel=1
-pkgdesc="OCaml canonical S-expressions"
-arch=(x86_64)
-url="https://github.com/ocaml-dune/csexp"
-license=('MIT')
-makedepends=(dune)
-depends=(glibc "ocaml>=4.11.0" ocaml-findlib ocaml-result)
-source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('61b239a0283792c218b8b71582255c5c8ffc882195245e292077064fc9b54ec4402887fc26b74413fca670fb7c01dc42ca998aa2ed40982798b580e6f3b747ee')
-
-build() {
- cd "${srcdir}/${_pkgname}-${pkgver}"
- dune build -p csexp
-}
-
-package() {
- cd "${srcdir}/${_pkgname}-${pkgver}"
- DESTDIR="${pkgdir}" dune install --prefix "/usr" --libdir "lib/ocaml"
-
- install -dm755 "${pkgdir}/usr/share/"
- mv "${pkgdir}/usr/doc" "${pkgdir}/usr/share/"
-
- install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
- ln -s /usr/share/doc/csexp/LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: ocaml-csexp/repos/community-x86_64/PKGBUILD (from rev 987779, ocaml-csexp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-07-27 15:49:30 UTC (rev 987780)
@@ -0,0 +1,29 @@
+# Maintainer: Konstantin Gizdov <arch at kge dot pw>
+_pkgname='csexp'
+pkgname="ocaml-${_pkgname}"
+pkgver=1.3.2
+pkgrel=2
+pkgdesc="OCaml canonical S-expressions"
+arch=(x86_64)
+url="https://github.com/ocaml-dune/csexp"
+license=('MIT')
+makedepends=(dune)
+depends=(glibc "ocaml>=4.12.0" ocaml-findlib ocaml-result)
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('61b239a0283792c218b8b71582255c5c8ffc882195245e292077064fc9b54ec4402887fc26b74413fca670fb7c01dc42ca998aa2ed40982798b580e6f3b747ee')
+
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ dune build -p csexp
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ DESTDIR="${pkgdir}" dune install --prefix "/usr" --libdir "lib/ocaml"
+
+ install -dm755 "${pkgdir}/usr/share/"
+ mv "${pkgdir}/usr/doc" "${pkgdir}/usr/share/"
+
+ install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
+ ln -s /usr/share/doc/csexp/LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list