~statianzo/pkgbuild-cloud66-toolbelt

6636f9ff5a892eced8a86688d4a148b0696bb962 — Jason Staten 2 years ago ee96502
release 0.1.95

Also, fix `make latest` to support gnu sed
2 files changed, 6 insertions(+), 1 deletions(-)

M Makefile
M PKGBUILD
M Makefile => Makefile +5 -0
@@ 4,7 4,12 @@ RELEASE := $(shell grep "pkgrel=" PKGBUILD | cut -d"=" -f2)
default:

latest:
ifeq ($(shell uname -s),Darwin)
	sed -i "" "s/pkgver=.*/pkgver=$(shell curl -I https://app.cloud66.com/toolbelt/linux?arch=64 | grep -Fi "location" | sed 's%.*cx_\([^_]*\)_linux.*%\1%')/" PKGBUILD
else
	sed -i -e "s/pkgver=.*/pkgver=$(shell curl -I https://app.cloud66.com/toolbelt/linux?arch=64 | grep -Fi "location" | sed 's%.*cx_\([^_]*\)_linux.*%\1%')/" PKGBUILD

endif

update:
	updpkgsums

M PKGBUILD => PKGBUILD +1 -1
@@ 2,7 2,7 @@
# PKGBUILD Source: https://sr.ht/~statianzo/PKGBUILD-cloud66-toolbelt

pkgname=cloud66-toolbelt
pkgver=0.1.63
pkgver=0.1.95
pkgrel=1
pkgdesc='Cloud66 Toolbelt'
url='https://help.cloud66.com/toolbelt/toolbelt-introduction'