[arch-commits] Commit in elvish/trunk (PKGBUILD)
George Rawlinson
grawlinson at gemini.archlinux.org
Fri Dec 10 23:33:19 UTC 2021
Date: Friday, December 10, 2021 @ 23:33:19
Author: grawlinson
Revision: 1068163
upgpkg: elvish 0.17.0-1
* New upstream release.
* Change go module method from vendor to download.
* Add dependency: glibc.
Modified:
elvish/trunk/PKGBUILD
----------+
PKGBUILD | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-10 22:57:13 UTC (rev 1068162)
+++ PKGBUILD 2021-12-10 23:33:19 UTC (rev 1068163)
@@ -3,16 +3,18 @@
# Contributor: Qi Xiao <xiaqqaix at gmail dot com>
pkgname=elvish
-pkgver=0.16.3
+pkgver=0.17.0
pkgrel=1
pkgdesc="A friendly and expressive Unix shell"
arch=('x86_64')
url="https://elv.sh"
license=('BSD')
+depends=('glibc')
makedepends=('git' 'go')
install="$pkgname.install"
source=("$pkgname-$pkgver.tar.gz::https://github.com/elves/elvish/archive/v$pkgver.tar.gz")
-b2sums=('e6e412cad068e01bf9d8d0d5709a3463e12bad782b2b0efe8c2b2810d349eae407de68a8b9226e4481e3f51b116207f884342b115e316b42eeb916d1c63bfdd7')
+sha512sums=('bbf4895a99f3c1aa1d35cc04073feba121fda72afcb5dc241c5b1ded3c3f815d81f3ad4b9a51878ead865ecee3ea5dacc855a38057aa7e49a2ada306fc950895')
+b2sums=('3725787f287dff6d2e740f75a4a62a47815166c7146d32b9358720209fc9eb4660b68599f8cc05313a44a5f02d97a0b30077588d9950048ae02a66f741795096')
prepare() {
cd "$pkgname-$pkgver"
@@ -21,7 +23,7 @@
mkdir build
# download dependencies
- go mod vendor
+ go mod download
}
build() {
@@ -35,7 +37,7 @@
go build -v \
-trimpath \
-buildmode=pie \
- -mod=vendor \
+ -mod=readonly \
-modcacherw \
-ldflags "-linkmode external -extldflags ${LDFLAGS} \
-X github.com/elves/elvish/pkg/buildinfo.Reproducible=true \
More information about the arch-commits
mailing list