Date: Wednesday, May 17, 2023 @ 07:26:39 Author: alerque Revision: 1462920
upgpkg: difftastic 0.47.0-1 Modified: difftastic/trunk/PKGBUILD ----------+ PKGBUILD | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-05-17 07:09:45 UTC (rev 1462919) +++ PKGBUILD 2023-05-17 07:26:39 UTC (rev 1462920) @@ -4,8 +4,8 @@ # Contributor: Wesley Moore <w...@wezm.net> pkgname=difftastic -pkgver=0.46.0 -_commit=cb9367c1298d253b4c2a0ec2536326abd388d043 +pkgver=0.47.0 +_commit=b6895d42e4748d631944cd57efa9c6a8fbd693b7 pkgrel=1 pkgdesc='An experimental diff tool that compares files based on their syntax' arch=('x86_64') @@ -22,6 +22,11 @@ git describe --tags | sed 's/^v//' } +_pkgver() { + curl -fs "https://api.github.com/repos/Wilfred/$pkgname/git/ref/tags/$pkgver" | + jq -r .object.sha +} + prepare() { cd "$pkgname"