summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Peukert2022-06-14 20:35:24 +0200
committerDaniel Peukert2022-06-14 20:35:24 +0200
commit82fdd5b1fb707a1658589029bb1403fba6462c34 (patch)
tree10055adfdfcccb7b8bbb34ce3b8455356a941789
parent75dce1db2068459374fd2135eb374101a8e18630 (diff)
downloadaur-82fdd5b1fb707a1658589029bb1403fba6462c34.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 b74aae7f081b..e93c40cbb7b8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ocaml-ounit
pkgdesc = Unit testing framework for OCaml
pkgver = 2.2.6
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/gildor478/ounit
arch = x86_64
arch = i686
@@ -17,7 +17,7 @@ pkgbase = ocaml-ounit
depends = ocaml-seq
depends = ocaml-stdlib-shims
options = !strip
- source = ocaml-ounit-2.2.6-1.tar.gz::https://github.com/gildor478/ounit/archive/v2.2.6.tar.gz
+ source = ocaml-ounit-2.2.6-2.tar.gz::https://github.com/gildor478/ounit/archive/v2.2.6.tar.gz
sha512sums = 4d808866dc4f9de6493a17910fafb2452398aef45cb29add54ed25e15a10ec7715bdd52d40190f618e77fe351d8bb67fbe12c1df6a6736c501792a57f6b3768a
pkgname = ocaml-ounit
diff --git a/PKGBUILD b/PKGBUILD
index 1cfa024e6513..bd7ad8c148c4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@
_projectname='ounit'
pkgname="ocaml-$_projectname"
pkgver='2.2.6'
-pkgrel='1'
+pkgrel='2'
pkgdesc='Unit testing framework for OCaml'
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://github.com/gildor478/$_projectname"
@@ -35,11 +35,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.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"