diff options
author | Carl Smedstad | 2022-03-17 14:27:21 +0100 |
---|---|---|
committer | Carl Smedstad | 2022-03-17 14:29:23 +0100 |
commit | 14c26a13ee29e16e37560e4c58b77aea1caa6587 (patch) | |
tree | c7e1c5e0e79baf1a99be68ae2bd5d04915704ca8 | |
parent | 7f782687b79c4febd53b452970c556d2cf82a959 (diff) | |
download | aur-14c26a13ee29e16e37560e4c58b77aea1caa6587.tar.gz |
Take over maintenance & update to version 1.5.1
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r--[-rwxr-xr-x] | PKGBUILD | 28 |
4 files changed, 25 insertions, 22 deletions
@@ -1,15 +1,18 @@ pkgbase = jd-tool-bin pkgdesc = JSON diff and patch - pkgver = 1.1 + pkgver = 1.5.1 pkgrel = 1 url = https://github.com/josephburnett/jd arch = x86_64 + arch = aarch64 license = MIT + provides = jd-tool conflicts = jd-tool - source = https://raw.githubusercontent.com/josephburnett/jd/master/LICENSE + source = jd-tool-bin-1.5.1-LICENSE::https://raw.githubusercontent.com/josephburnett/jd/v1.5.1/LICENSE sha256sums = 7db445fe94ae6fb0c5ab69a6b47ec38a0e4b6d5a38f9d1493c0d8cb7c8ad2516 - source_x86_64 = jd-1.1::https://github.com/josephburnett/jd/releases/download/v1.1/jd - sha256sums_x86_64 = 42694f0a7a4b77a7e76ff88fc4e82be3bcd3d35f277f01967546f05ae598f40f + source_x86_64 = jd-tool-bin-1.5.1::https://github.com/josephburnett/jd/releases/download/v1.5.1/jd-amd64-linux + sha256sums_x86_64 = 43c14695f1b4987a85b29d871591229c8cc11c6ef59ed8f3527e3dd768f4c088 + source_aarch64 = jd-tool-bin-1.5.1::https://github.com/josephburnett/jd/releases/download/v1.5.1/jd-arm64-linux + sha256sums_aarch64 = 5f5024664145bcef00c8a7eff2f3fab83355ad971e911d5e50a437dd34b968f0 pkgname = jd-tool-bin - diff --git a/.gitignore b/.gitignore index 4db48576517b..f71c635dafda 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,3 @@ !.gitignore !PKGBUILD !.SRCINFO -!Makefile diff --git a/Makefile b/Makefile deleted file mode 100644 index a1451de8802d..000000000000 --- a/Makefile +++ /dev/null @@ -1,5 +0,0 @@ -.PHONY: all -all: .SRCINFO - -.SRCINFO: PKGBUILD - makepkg --printsrcinfo > .SRCINFO diff --git a/PKGBUILD b/PKGBUILD index 2ac802d4e06d..7b90142d5715 100755..100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,20 +1,26 @@ -# Maintainer: Radoslaw Mejer <radmen@radmen.info> +# Maintainer: Carl Smedstad <carl.smedstad at protonmail dot com> +# Contributor: Radoslaw Mejer <radmen@radmen.info> pkgname=jd-tool-bin -pkgver=1.1 +_pkgname=jd +pkgver=1.5.1 pkgrel=1 pkgdesc="JSON diff and patch" -arch=(x86_64) +arch=('x86_64' 'aarch64') url="https://github.com/josephburnett/jd" -license=(MIT) -depends=() -conflicts=(jd-tool) -source=("https://raw.githubusercontent.com/josephburnett/jd/master/LICENSE") -source_x86_64=("jd-${pkgver}::https://github.com/josephburnett/jd/releases/download/v${pkgver}/jd") +license=('MIT') +provides=('jd-tool') +conflicts=('jd-tool') + +source=("$pkgname-$pkgver-LICENSE::https://raw.githubusercontent.com/josephburnett/$_pkgname/v$pkgver/LICENSE") +source_aarch64=("$pkgname-$pkgver::$url/releases/download/v$pkgver/$_pkgname-arm64-linux") +source_x86_64=("$pkgname-$pkgver::$url/releases/download/v$pkgver/$_pkgname-amd64-linux") + sha256sums=('7db445fe94ae6fb0c5ab69a6b47ec38a0e4b6d5a38f9d1493c0d8cb7c8ad2516') -sha256sums_x86_64=('42694f0a7a4b77a7e76ff88fc4e82be3bcd3d35f277f01967546f05ae598f40f') +sha256sums_x86_64=('43c14695f1b4987a85b29d871591229c8cc11c6ef59ed8f3527e3dd768f4c088') +sha256sums_aarch64=('5f5024664145bcef00c8a7eff2f3fab83355ad971e911d5e50a437dd34b968f0') package() { - install -Dm655 ${srcdir}/jd-${pkgver} ${pkgdir}/usr/bin/jd - install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/jd/LICENSE + install -Dm755 "$srcdir/$pkgname-$pkgver" "$pkgdir/usr/bin/jd" + install -Dm644 "$srcdir/$pkgname-$pkgver-LICENSE" "$pkgdir/usr/share/licenses/jd/LICENSE" } |