summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Peukert2022-06-14 20:43:54 +0200
committerDaniel Peukert2022-06-14 20:43:54 +0200
commit84ff1ab95da65e696d2594aad9f24819dd6c38aa (patch)
treed3471c49196d99bef9ea9139df162323a543ccf8
parentb1c633b7a8c1068af23c96358586bd3d02929b94 (diff)
downloadaur-84ff1ab95da65e696d2594aad9f24819dd6c38aa.tar.gz
Fix dun calls, sha256 -> sha512
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 4 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 72a02ebb68d8..1a493f64e180 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ocaml-ppx_typerep_conv
pkgdesc = Generation of runtime types from type declarations
pkgver = 0.15.0
- pkgrel = 1
+ pkgrel = 2
epoch = 1
url = https://github.com/janestreet/ppx_typerep_conv
arch = x86_64
@@ -17,7 +17,7 @@ pkgbase = ocaml-ppx_typerep_conv
depends = ocaml-typerep>=0.15.0
depends = ocaml-ppxlib>=0.23.0
options = !strip
- source = ocaml-ppx_typerep_conv-1:0.15.0-1.tar.gz::https://github.com/janestreet/ppx_typerep_conv/archive/v0.15.0.tar.gz
+ source = ocaml-ppx_typerep_conv-1:0.15.0-2.tar.gz::https://github.com/janestreet/ppx_typerep_conv/archive/v0.15.0.tar.gz
sha512sums = 3f5bb2c70674e5f6219daa883fe948023a60558c9560c5d8e6b187e0420adf8767ce4f5cca06fe7edccd52e531b2e79d962f7fdc7502cb63280c364627621c73
pkgname = ocaml-ppx_typerep_conv
diff --git a/PKGBUILD b/PKGBUILD
index b83e32432fb8..fbe0031719ba 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_projectname='ppx_typerep_conv'
pkgname="ocaml-$_projectname"
pkgver='0.15.0'
-pkgrel='1'
+pkgrel='2'
epoch='1'
pkgdesc='Generation of runtime types from type declarations'
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64')
@@ -24,11 +24,7 @@ build() {
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/"
+ DESTDIR="$pkgdir" dune install --prefix '/usr' --libdir '/usr/lib/ocaml' --docdir '/usr/share/doc' --mandir '/usr/share/man' --release --verbose
install -dm755 "$pkgdir/usr/share/licenses/$pkgname"
ln -sf "/usr/share/doc/$pkgname/LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"