summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakob Gahde2019-05-15 11:33:00 +0200
committerJakob Gahde2019-05-15 11:33:00 +0200
commite3358b4b909ffe56e8061e40dedca1667c73d71b (patch)
tree3ee5c616234c133d9b6eb3d44411a84451d54bb3
parenta28b2796c47ec1e87acf00b0eb2a38c451cefaaa (diff)
downloadaur-e3358b4b909ffe56e8061e40dedca1667c73d71b.tar.gz
ocaml-ppx_js_style 0.12.0-1: New version
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD13
2 files changed, 11 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3d1b333c041b..e6727529ee3c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,21 +1,18 @@
-# Generated by mksrcinfo v8
-# Thu Jun 28 15:26:21 UTC 2018
pkgbase = ocaml-ppx_js_style
pkgdesc = Code style checker for Jane Street Packages
- pkgver = 0.11.0
+ pkgver = 0.12.0
pkgrel = 1
url = https://github.com/janestreet/ppx_js_style
arch = x86_64
- license = Apache
+ license = MIT
makedepends = dune
depends = ocaml
depends = ocaml-base
- depends = ocaml-migrate-parsetree
depends = ocaml-octavius
depends = ocaml-ppxlib
options = !strip
- source = https://ocaml.janestreet.com/ocaml-core/v0.11/files/ppx_js_style-v0.11.0.tar.gz
- md5sums = 0994a7ecf0468f13fcac660413afafad
+ source = https://ocaml.janestreet.com/ocaml-core/v0.12/files/ppx_js_style-v0.12.0.tar.gz
+ sha512sums = 7c1323b23b20e247810b93e54b3c7ff45f4a8eecd054ac7010e5b090acc34a9a2b928398b0a668facf6904324c6d86cb217e4296326d53669c88007cfe0245b9
pkgname = ocaml-ppx_js_style
diff --git a/PKGBUILD b/PKGBUILD
index e350ecb56989..f4576919848b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,22 +1,22 @@
# Maintainer: Jakob Gahde <j5lx@fmail.co.uk>
pkgname=ocaml-ppx_js_style
-pkgver=0.11.0
+pkgver=0.12.0
pkgrel=1
pkgdesc="Code style checker for Jane Street Packages"
arch=('x86_64')
url='https://github.com/janestreet/ppx_js_style'
-license=('Apache')
-depends=('ocaml' 'ocaml-base' 'ocaml-migrate-parsetree' 'ocaml-octavius' 'ocaml-ppxlib')
+license=('MIT')
+depends=('ocaml' 'ocaml-base' 'ocaml-octavius' 'ocaml-ppxlib')
makedepends=('dune')
options=('!strip')
source=("https://ocaml.janestreet.com/ocaml-core/v$(echo ${pkgver} | grep -Po "^[0-9]+\.[0-9]+")/files/ppx_js_style-v${pkgver}.tar.gz")
-md5sums=('0994a7ecf0468f13fcac660413afafad')
+sha512sums=('7c1323b23b20e247810b93e54b3c7ff45f4a8eecd054ac7010e5b090acc34a9a2b928398b0a668facf6904324c6d86cb217e4296326d53669c88007cfe0245b9')
build() {
cd "${srcdir}/ppx_js_style-v${pkgver}"
- jbuilder build
+ dune build
}
@@ -24,6 +24,7 @@ package() {
cd "${srcdir}/ppx_js_style-v${pkgver}"
mkdir -p "${pkgdir}$(ocamlfind printconf destdir)" "${pkgdir}/usr/share"
- jbuilder install --prefix "${pkgdir}/usr" --libdir "${pkgdir}$(ocamlfind printconf destdir)"
+ dune install --prefix "${pkgdir}/usr" --libdir "${pkgdir}$(ocamlfind printconf destdir)"
mv "${pkgdir}/usr/doc" "${pkgdir}/usr/share/"
+ install -Dm644 "LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
}