Caleb Maclennan pushed to branch main at Arch Linux / Packaging / Packages / 
elvish


Commits:
ce60e8ff by Caleb Maclennan at 2024-03-17T15:27:22+03:00
upgpkg: 0.20.1-3: Use VCS source checksumming to eliminate need for pinned 
commits

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = elvish
        pkgdesc = Versatile interactive shell & powerful scripting language in 
one
        pkgver = 0.20.1
-       pkgrel = 2
+       pkgrel = 3
        url = https://elv.sh
        install = elvish.install
        arch = x86_64
@@ -10,7 +10,7 @@ pkgbase = elvish
        makedepends = go
        depends = glibc
        options = !lto
-       source = 
elvish::git+https://github.com/elves/elvish.git#commit=663e5e6614ecb360ea21577aa30a19cb6b3be530
-       b2sums = SKIP
+       source = elvish::git+https://github.com/elves/elvish.git#tag=v0.20.1
+       sha256sums = SKIP
 
 pkgname = elvish


=====================================
PKGBUILD
=====================================
@@ -5,8 +5,7 @@
 
 pkgname=elvish
 pkgver=0.20.1
-_commit='663e5e6614ecb360ea21577aa30a19cb6b3be530'
-pkgrel=2
+pkgrel=3
 pkgdesc='Versatile interactive shell & powerful scripting language in one'
 arch=('x86_64')
 url="https://elv.sh";
@@ -15,17 +14,11 @@ depends=('glibc')
 makedepends=('git' 'go')
 install="$pkgname.install"
 options=('!lto')
-source=("$pkgname::git+https://github.com/elves/elvish.git#commit=$_commit";)
-b2sums=('SKIP')
+source=("$pkgname::git+https://github.com/elves/elvish.git#tag=v$pkgver";)
+sha256sums=('SKIP')
 
 _variant="archlinux$pkgrel"
 
-pkgver() {
-  cd "$pkgname"
-
-  git describe --tags | sed 's/^v//'
-}
-
 prepare() {
   cd "$pkgname"
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/elvish/-/commit/ce60e8ff2bcc71ac73689daeafb0ade1a37593b1

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/elvish/-/commit/ce60e8ff2bcc71ac73689daeafb0ade1a37593b1
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to