summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Peukert2022-06-14 20:35:37 +0200
committerDaniel Peukert2022-06-14 20:35:37 +0200
commit6076e50cc2e02d4e9b50daaa884f11ede741b05c (patch)
treec4dea6aa9efd8fb224d46632e534b2fbc41408b9
parent559c3cd127ec9c650e0e891987492547da32027a (diff)
downloadaur-6076e50cc2e02d4e9b50daaa884f11ede741b05c.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 2a944986ff76..5ca3a5d53c2a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ocaml-parsexp
pkgdesc = S-expression parsing library
pkgver = 0.15.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/janestreet/parsexp
arch = x86_64
arch = i686
@@ -15,7 +15,7 @@ pkgbase = ocaml-parsexp
depends = ocaml-base>=0.15.0
depends = ocaml-sexplib0>=0.15.0
options = !strip
- source = ocaml-parsexp-0.15.0-1.tar.gz::https://github.com/janestreet/parsexp/archive/v0.15.0.tar.gz
+ source = ocaml-parsexp-0.15.0-2.tar.gz::https://github.com/janestreet/parsexp/archive/v0.15.0.tar.gz
sha512sums = aad464435747228f7168e2700fc8d5d3a9f212196a5e9afa24dd26d6f596dd96b68ecc77eddf862990df93d74d9a935038f602b1bbeecb545651d61b70f47d3f
pkgname = ocaml-parsexp
diff --git a/PKGBUILD b/PKGBUILD
index 6ba20c1d72a7..559cc31b40a1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_projectname='parsexp'
pkgname="ocaml-$_projectname"
pkgver='0.15.0'
-pkgrel='1'
+pkgrel='2'
pkgdesc='S-expression parsing library'
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://github.com/janestreet/$_projectname"
@@ -23,11 +23,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"