From 565894579dd2f3636b074e0ffd6e40a3b3c8ca01 Mon Sep 17 00:00:00 2001 From: Daniel Lewan Date: Wed, 19 Feb 2025 12:00:34 +0100 Subject: [PATCH] jd: update to 2.2.2. --- srcpkgs/jd/template | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/srcpkgs/jd/template b/srcpkgs/jd/template index 6c05b8d1406..e782562bfc3 100644 --- a/srcpkgs/jd/template +++ b/srcpkgs/jd/template @@ -1,16 +1,23 @@ # Template file for 'jd' pkgname=jd -version=1.9.1 +version=2.2.2 revision=1 build_style=go -go_import_path="github.com/josephburnett/jd" +go_import_path="github.com/josephburnett/jd/v2" +go_package="github.com/josephburnett/jd/v2/jd" +go_mod_mode=default short_desc="JSON diff and patch" maintainer="Daniel Lewan " license="MIT" homepage="https://github.com/josephburnett/jd" distfiles="https://github.com/josephburnett/jd/archive/refs/tags/v${version}.tar.gz" -checksum=92f1b183510874a73327bfb70cb2c0fed2fc1f2d08191f0736dc4863d6766110 +checksum=85abf994c1f11aa0c2d13db03b2f02cb458e987ceaaccf4200b10193dd2895af +_go_mod_path="./v2/go.mod" post_install() { vlicense LICENSE } + +do_check() { + make test +}