Subject: [PATCH] testing/ocaml-calendar: upgrade to 2.04

From: Fernando Casas Schössow <[email-masked]>
Date: Wed, 23 Oct 2019 21:39:23 +0000

---
 testing/ocaml-calendar/APKBUILD | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/testing/ocaml-calendar/APKBUILD b/testing/ocaml-calendar/APKBUILD
index ceb4e8a522..deedced15f 100644
--- a/testing/ocaml-calendar/APKBUILD
+++ b/testing/ocaml-calendar/APKBUILD
@@ -1,7 +1,7 @@
 # Contributor: Fernando Casas Schossow <[email-masked]>
 # Maintainer: Fernando Casas Schossow <[email-masked]>
 pkgname=ocaml-calendar
-pkgver=2.03.2
+pkgver=2.04
 pkgrel=1
 pkgdesc="Objective Caml library for managing dates and times"
 url="http://calendar.forge.ocamlcore.org/"
@@ -9,22 +9,19 @@ arch="aarch64 ppc64le x86_64" # restrict 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,4 @@ 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"
-- 
2.22.0