mirror of
https://github.com/archlinux/aur.git
synced 2026-02-09 22:44:04 +01:00
fix checksum
This commit is contained in:
parent
5f25b41597
commit
d1a8487b16
3 changed files with 9 additions and 9 deletions
6
.SRCINFO
6
.SRCINFO
|
|
@ -1,12 +1,12 @@
|
|||
pkgbase = steampipe-bin
|
||||
pkgdesc = Steampipe CLI
|
||||
pkgver = 0.9.1
|
||||
pkgrel = 2
|
||||
pkgrel = 3
|
||||
url = https://github.com/turbot/steampipe
|
||||
arch = x86_64
|
||||
license = AGPL-3.0
|
||||
provides = steampipe
|
||||
source = steampipe-0.9.1-2.tgz::https://github.com/turbot/steampipe/releases/download/v0.9.1/steampipe_linux_amd64.tar.gz
|
||||
sha256sums = a26a9439b686c658c547db508af5c1187781eb3014964f3f312ab94042480cfa
|
||||
source = steampipe-0.9.1-3.tgz::https://github.com/turbot/steampipe/releases/download/v0.9.1/steampipe_linux_amd64.tar.gz
|
||||
sha256sums = 692889cc226dae2eb4687bca850374cfa2dd79814fba2f529242d0d48fe8b9fd
|
||||
|
||||
pkgname = steampipe-bin
|
||||
|
|
|
|||
8
Makefile
8
Makefile
|
|
@ -8,16 +8,16 @@ integrity:
|
|||
|
||||
generate:
|
||||
@sed -i -r "s/pkgver=.*/pkgver=$$VER/g" PKGBUILD
|
||||
@sed -i -r "s/md5sums=.*/md5sums=(\\'$$MD5\\')/g" PKGBUILD
|
||||
@sed -i -r "s/sha256sums=.*/sha256sums=(\\'$$SHA256\\')/g" PKGBUILD
|
||||
|
||||
.ONESHELL:
|
||||
specificrelease:
|
||||
@export VER=0.9.0
|
||||
@export MD5=a26a9439b686c658c547db508af5c1187781eb3014964f3f312ab94042480cfa
|
||||
@export SHA256=a26a9439b686c658c547db508af5c1187781eb3014964f3f312ab94042480cfa
|
||||
@make generate srcinfo
|
||||
|
||||
.ONESHELL:
|
||||
latestrelease:
|
||||
@export VER=$(shell curl -sL https://api.github.com/repos/turbot/steampipe/releases/latest | jq -r ".name" | cut -c 2-)
|
||||
@export MD5=$(shell curl -sL https://api.github.com/repos/turbot/steampipe/releases/latest | jq -r ".assets[] | select(.name | contains(\"checksums.txt\")) | .browser_download_url" | wget -q -i - -O - | grep linux_amd64 | cut -d' ' -f1)
|
||||
@make generate srcinfo
|
||||
@export SHA256=$(shell curl -sL https://api.github.com/repos/turbot/steampipe/releases/latest | jq -r ".assets[] | select(.name | contains(\"checksums.txt\")) | .browser_download_url" | wget -q -i - -O - | grep linux_amd64 | cut -d' ' -f1)
|
||||
@make generate srcinfo
|
||||
|
|
|
|||
4
PKGBUILD
4
PKGBUILD
|
|
@ -2,14 +2,14 @@
|
|||
|
||||
pkgname=steampipe-bin
|
||||
pkgver=0.9.1
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc='Steampipe CLI'
|
||||
url='https://github.com/turbot/steampipe'
|
||||
license=('AGPL-3.0')
|
||||
arch=('x86_64')
|
||||
provides=('steampipe')
|
||||
source=("steampipe-$pkgver-$pkgrel.tgz::https://github.com/turbot/steampipe/releases/download/v$pkgver/steampipe_linux_amd64.tar.gz")
|
||||
sha256sums=('a26a9439b686c658c547db508af5c1187781eb3014964f3f312ab94042480cfa')
|
||||
sha256sums=('692889cc226dae2eb4687bca850374cfa2dd79814fba2f529242d0d48fe8b9fd')
|
||||
|
||||
package() {
|
||||
tar xzf $srcdir/steampipe-$pkgver-$pkgrel.tgz
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue