Commit 6bac0bf7 authored by J0WI's avatar J0WI
Browse files

testing/ocaml-calendar: upgrade to 2.04

parent 87218576
Pipeline #88565 failed with stages
in 3 minutes and 47 seconds
# Contributor: Fernando Casas Schossow <casasfernando@outlook.com>
# Maintainer: Fernando Casas Schossow <casasfernando@outlook.com>
pkgname=ocaml-calendar
pkgver=2.03.2
pkgrel=1
pkgver=2.04
pkgrel=0
pkgdesc="Objective Caml library for managing dates and times"
url="http://calendar.forge.ocamlcore.org/"
arch="aarch64 ppc64le x86_64" # restrict by ocaml
arch="all !mips64 !riscv64" # restricted by ocaml
license="LGPL-2.1-or-later-WITH-linking-exception"
makedepends="ocaml ocaml-findlib-dev ocaml-ocamldoc gawk"
subpackages="$pkgname-dev $pkgname-doc"
source="http://forge.ocamlcore.org/frs/download.php/915/calendar-2.03.2.tar.gz"
source="https://download.ocamlcore.org/calendar/calendar/$pkgver/calendar-$pkgver.tar.gz"
builddir="$srcdir/calendar-$pkgver"
build() {
cd "$builddir"
./configure --prefix=/usr --libdir=/usr/lib
make
}
check() {
cd "$builddir"
make tests
}
package() {
cd "$builddir"
export DESTDIR="$pkgdir"
export OCAMLFIND_DESTDIR="$DESTDIR/usr/lib/ocaml"
mkdir -p "$OCAMLFIND_DESTDIR"
......@@ -34,4 +31,6 @@ package() {
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
sha512sums="c6acc326aaed77d238126f8723a8e3e4054808ddfef974d9aead39731f4ab9f386eff2f34aab17e4eade3825dd1e3b708a404ecde3fc9b82416482c7095de82b calendar-2.03.2.tar.gz"
sha512sums="
3941768428eda47f47912846cc2921ee82c722bda7cf6095c1c8bdcfebc19bb8f64ebb1a25475396d2a49c186b83421af63602a54a261684117b1c036a66cf3d calendar-2.04.tar.gz
"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment