diff options
author | James Bulmer | 2019-06-18 10:35:22 +0100 |
---|---|---|
committer | James Bulmer | 2019-06-18 10:35:22 +0100 |
commit | 3e4bb76fd5325ddf91282df911f95ca04c953d27 (patch) | |
tree | 038079664de9b98fde6ea214194808ba53ceef7c | |
parent | ca3bc843ab35dd7b7c8b0299b3ba9b364a1e7dc9 (diff) | |
download | aur-3e4bb76fd5325ddf91282df911f95ca04c953d27.tar.gz |
updating to version 13.8.0
-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 |