summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Peukert2022-06-14 20:36:44 +0200
committerDaniel Peukert2022-06-14 20:36:44 +0200
commitbb046ea25accd93d63521ffa637469ddcdd24f70 (patch)
tree4776ddc794bf1a85b3b5c83f9ed903148b559ca2
parent5b9dd3b296feb96fbcb868d0762ac725913340c0 (diff)
downloadaur-bb046ea25accd93d63521ffa637469ddcdd24f70.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 cb3d8f46031..f0312cccafb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ocaml-ppx_cold
pkgdesc = Expands [@Cold] into [@inline never][@specialise never][@Local never]
pkgver = 0.15.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/janestreet/ppx_cold
arch = x86_64
arch = i686
@@ -15,7 +15,7 @@ pkgbase = ocaml-ppx_cold
depends = ocaml-base>=0.15.0
depends = ocaml-ppxlib>=0.23.0
options = !strip
- source = ocaml-ppx_cold-0.15.0-1.tar.gz::https://github.com/janestreet/ppx_cold/archive/v0.15.0.tar.gz
+ source = ocaml-ppx_cold-0.15.0-2.tar.gz::https://github.com/janestreet/ppx_cold/archive/v0.15.0.tar.gz
sha512sums = 239b78e8c03d47973be4d72d4879a0290367f96033b9d3a5d723a1c35e02121af86d5e41fd08dcf4746a8c6d521c94cf41eff6b4a439a204e0a5a3a0c49d9bf1
pkgname = ocaml-ppx_cold
diff --git a/PKGBUILD b/PKGBUILD
index 08bc1dca6db..624fc1ec773 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_projectname='ppx_cold'
pkgname="ocaml-$_projectname"
pkgver='0.15.0'
-pkgrel='1'
+pkgrel='2'
pkgdesc='Expands [@Cold] into [@inline never][@specialise never][@Local never]'
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://github.com/janestreet/$_projectname"
@@ -22,11 +22,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"