summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Peukert2022-06-14 20:44:21 +0200
committerDaniel Peukert2022-06-14 20:44:21 +0200
commit0c4fade7b4f4376989414b67662da201e2a17b2d (patch)
treeb69d49b1878e33dcc65d56d31f9c048e06d5336b
parent2c22da65d5bfb2835ca47b1d02ee0c5d7c977191 (diff)
downloadaur-0c4fade7b4f4376989414b67662da201e2a17b2d.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 4cd52b51e795..259d59d9ca12 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ocaml-re
pkgdesc = Pure OCaml regular expressions, with support for Perl and POSIX-style strings
pkgver = 1.10.4
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/ocaml/ocaml-re
arch = x86_64
arch = i686
@@ -15,7 +15,7 @@ pkgbase = ocaml-re
depends = ocaml>=4.03.0
depends = ocaml-seq
options = !strip
- source = ocaml-re-1.10.4-1.tar.gz::https://github.com/ocaml/ocaml-re/archive/1.10.4.tar.gz
+ source = ocaml-re-1.10.4-2.tar.gz::https://github.com/ocaml/ocaml-re/archive/1.10.4.tar.gz
source = fix-ounit-name.diff
sha512sums = 1bef38154f856b48985a0dfa975dc8539f146d0308d7c2af01078f5e998683fd635c7ae4a888e95c1a4dc4df9539dcd5dc506a5ef8718386cf0073947507f91a
sha512sums = cd665ef2d43a82f26a34480265db42031b8f9cd4b0b71890f3e7fc029c1e68c4f518f1ced2b78deedc522808df0037da83b5527f6442aaf65c5dfb1b7823166f
diff --git a/PKGBUILD b/PKGBUILD
index 3bc3dd38d84b..ebeeacbeee14 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
_projectname='re'
pkgname="ocaml-$_projectname"
pkgver='1.10.4'
-pkgrel='1'
+pkgrel='2'
pkgdesc='Pure OCaml regular expressions, with support for Perl and POSIX-style strings'
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://github.com/ocaml/$pkgname"
@@ -40,11 +40,7 @@ check() {
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"