From a4e7bf57073a85530d3077edd36216b6a43641bc Mon Sep 17 00:00:00 2001 From: atinylittleshell Date: Tue, 21 Jan 2025 01:30:42 +0000 Subject: [PATCH] Update to v0.15.7 --- .SRCINFO | 6 +++--- PKGBUILD | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index fb51739f0032..f18cb0022ddb 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = gsh pkgdesc = A modern, POSIX-compatible, generative shell - pkgver = 0.15.6 + pkgver = 0.15.7 pkgrel = 1 url = https://github.com/atinylittleshell/gsh arch = aarch64 @@ -11,7 +11,7 @@ pkgbase = gsh conflicts = gsh provides = gsh - source = https://github.com/atinylittleshell/gsh/releases/download/v0.15.6/gsh-0.15.6.tar.gz - sha256sums = 4952d31ebca339ceb0b0a559af0a2ba80ad4686a99c4d29c470241e566af17e0 + source = https://github.com/atinylittleshell/gsh/releases/download/v0.15.7/gsh-0.15.7.tar.gz + sha256sums = 52d2a73f1c106b89a8f320c3fd560b852971876ecfa498e0272366f39ebcc6f3 pkgname = gsh diff --git a/PKGBUILD b/PKGBUILD index 1e69eb518b8f..01aa8d9d40c7 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,7 @@ # Maintainer: Vitalii Kuzhdin pkgname='gsh' -pkgver=0.15.6 +pkgver=0.15.7 pkgrel=1 pkgdesc='A modern, POSIX-compatible, generative shell' url='https://github.com/atinylittleshell/gsh' @@ -12,8 +12,8 @@ license=('GPL-3.0-or-later') provides=('gsh') conflicts=('gsh') makedepends=('go' 'git') -source=("${pkgname}_${pkgver}.tar.gz::https://github.com/atinylittleshell/gsh/releases/download/v0.15.6/gsh-0.15.6.tar.gz") -sha256sums=('4952d31ebca339ceb0b0a559af0a2ba80ad4686a99c4d29c470241e566af17e0') +source=("${pkgname}_${pkgver}.tar.gz::https://github.com/atinylittleshell/gsh/releases/download/v0.15.7/gsh-0.15.7.tar.gz") +sha256sums=('52d2a73f1c106b89a8f320c3fd560b852971876ecfa498e0272366f39ebcc6f3') prepare() { cd "${srcdir}/${_pkgsrc}" go mod download @@ -21,8 +21,8 @@ prepare() { build() { cd "${srcdir}/${_pkgsrc}" export CGO_ENABLED=0 - export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw" - go build -ldflags="-linkmode=external -X main.BUILD_VERSION=${pkgver}" -o "./bin/${pkgname}" "./cmd/${pkgname}" + export GOFLAGS="-trimpath -mod=readonly -modcacherw" + go build -ldflags="-X main.BUILD_VERSION=${pkgver}" -o "./bin/${pkgname}" "./cmd/${pkgname}" } package() { cd "${srcdir}/${_pkgsrc}"