diff options
-rw-r--r-- | PKGBUILD | 5 | ||||
-rwxr-xr-x | update-version.sh | 13 |
2 files changed, 16 insertions, 2 deletions
@@ -1,14 +1,15 @@ # Maintainer: James Bulmer <me@nekinie.com> +# Maintainer: Henry Jenkins <archlinux.org@henryjenkins.com> pkgname=please-bin -pkgver=13.3.2 +pkgver=13.8.0 pkgrel=1 pkgdesc="A cross-language build system with an emphasis on high performance, extensibility and reproduceability" arch=("x86_64") url="https://please.build/" license=("Apache") source_x86_64=("https://github.com/thought-machine/please/releases/download/v${pkgver}/please_${pkgver}_linux_amd64.tar.gz") -sha256sums_x86_64=("b3106ae149fd5a5dcf79738f9c265a01f52e778e5eadbe6c84c83cad55ea3fb5") +sha256sums_x86_64=("a9a2658c7270346d452f3a4cc5cfff5d057495d641d20f55b71c4804bb00cf72") package() { install -d "${pkgdir}/opt/thought-machine" diff --git a/update-version.sh b/update-version.sh new file mode 100755 index 000000000000..593667676ffe --- /dev/null +++ b/update-version.sh @@ -0,0 +1,13 @@ +#!/bin/sh +# +# Update the PKGBUILD with the lastest release + +VERSION=`curl -fsSL https://get.please.build/latest_version` +SHA256URL="https://get.please.build/linux_amd64/${VERSION}/please_${VERSION}.tar.gz.sha256" + +SHA256SUM=`curl -fsSL ${SHA256URL} | cut -d ' ' -f1` + +sed -i -e "s/pkgver=.*/pkgver=${VERSION}/" PKGBUILD +sed -i -e "s/sha256sums_x86_64=.*/sha256sums_x86_64=(\"${SHA256SUM}\")/" PKGBUILD + +git commit -m "Updating to ${VERSION}" ./PKGBUILD |