summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD7
2 files changed, 8 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index af51bb1be4e..53817b2a974 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sat Oct 19 13:26:02 UTC 2019
+# Sat Oct 19 17:02:23 UTC 2019
pkgbase = ocaml-ppx_deriving-git
pkgdesc = Type-driven code generation for OCaml >=4.02
pkgver = 20190909
- pkgrel = 1
+ pkgrel = 3
url = https://github.com/ocaml-ppx/ppx_deriving
arch = x86_64
license = MIT
@@ -13,7 +13,7 @@ pkgbase = ocaml-ppx_deriving-git
depends = ocaml
depends = ocaml-migrate-parsetree
depends = ocaml-ppx_derivers
- depends = ocaml-ppx_tools>=4.02.3
+ depends = ocaml-ppx_tools-git
depends = ocaml-result
provides = ocaml-ppx_deriving
conflicts = ocaml-ppx_deriving
diff --git a/PKGBUILD b/PKGBUILD
index 796324ae8dd..4b2f086b4d9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,14 +2,14 @@
pkgname=ocaml-ppx_deriving-git
pkgver=20190909
-pkgrel=1
+pkgrel=3
pkgdesc="Type-driven code generation for OCaml >=4.02"
arch=('x86_64')
url='https://github.com/ocaml-ppx/ppx_deriving'
license=('MIT')
provides=('ocaml-ppx_deriving')
conflicts=('ocaml-ppx_deriving')
-depends=('ocaml' 'ocaml-migrate-parsetree' 'ocaml-ppx_derivers' 'ocaml-ppx_tools>=4.02.3' 'ocaml-result')
+depends=('ocaml' 'ocaml-migrate-parsetree' 'ocaml-ppx_derivers' 'ocaml-ppx_tools-git' 'ocaml-result')
makedepends=('ocamlbuild' 'ocaml-findlib' 'cppo')
source=("${pkgname}::git://github.com/ocaml-ppx/ppx_deriving.git")
md5sums=('SKIP')
@@ -32,4 +32,7 @@ package() {
dune install --prefix "${pkgdir}/usr" --libdir "${pkgdir}$(ocamlfind -printconf destdir)"
mv "${pkgdir}/usr/doc" "${pkgdir}/usr/share/"
install -Dm644 "LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+
+ # remove rogue dune-package file
+ rm -r "${pkgdir}/usr/lib/ocaml/ppx_deriving/dune-package"
}