summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Peukert2022-06-14 20:41:00 +0200
committerDaniel Peukert2022-06-14 20:41:00 +0200
commit6ad0784b103ec5883cdb3448e1bd5b1dd3ade5ea (patch)
tree47afe0b8d40b965d6b465b922a013ccc2df7dd2c
parente0365673b27b6ace5b8f93d62cbfbba3044e6f3b (diff)
downloadaur-6ad0784b103ec5883cdb3448e1bd5b1dd3ade5ea.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 a85527e3dfef..d87f97ba7afa 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ocaml-ppxlib
pkgdesc = Standard library for ppx rewriters
pkgver = 0.26.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/ocaml-ppx/ppxlib
arch = x86_64
arch = i686
@@ -17,7 +17,7 @@ pkgbase = ocaml-ppxlib
depends = ocaml-sexplib0>=0.12.0
depends = ocaml-stdlib-shims
options = !strip
- source = ocaml-ppxlib-0.26.0-1.tar.gz::https://github.com/ocaml-ppx/ppxlib/archive/0.26.0.tar.gz
+ source = ocaml-ppxlib-0.26.0-2.tar.gz::https://github.com/ocaml-ppx/ppxlib/archive/0.26.0.tar.gz
sha512sums = 5cabfd1f97620e9d0c6bd8ee186f81dfdd69988c37c7adc460bf20b4255e80c88b13e3f1a620bbc12cbc8005400f73cb86e91c36a5cccc5de8281d33a0441c46
pkgname = ocaml-ppxlib
diff --git a/PKGBUILD b/PKGBUILD
index 0e31b1b6a81a..0755b64f81f8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_projectname='ppxlib'
pkgname="ocaml-$_projectname"
pkgver='0.26.0'
-pkgrel='1'
+pkgrel='2'
pkgdesc='Standard library for ppx rewriters'
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://github.com/ocaml-ppx/$_projectname"
@@ -30,11 +30,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"