George Rawlinson pushed to branch main at Arch Linux / Packaging / Packages /
hut
Commits:
e879a643 by George Rawlinson at 2024-06-11T20:02:40+12:00
upgpkg: 0.5.0-1
* New upstream release.
* New upstream url.
* Update license to use SPDX reference.
* Switch from git commit to git tag for version/checksum.
* Remove pkgver function.
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,17 +1,18 @@
pkgbase = hut
pkgdesc = A CLI tool for Sourcehut
- pkgver = 0.4.0
+ pkgver = 0.5.0
pkgrel = 1
- url = https://sr.ht/~emersion/hut
+ url = https://sr.ht/~xenrox/hut
arch = x86_64
- license = AGPL3
+ license = AGPL-3.0-only
makedepends = git
makedepends = go
makedepends = scdoc
depends = glibc
options = !lto
options = !debug
- source =
git+https://git.sr.ht/~emersion/hut#commit=0185135be514f389114f84644383b65e9c7ccb4e
- sha256sums = SKIP
+ source = git+https://git.sr.ht/~xenrox/hut#tag=v0.5.0
+ sha512sums =
8466a0fdcfdd458baaaa3e5382b6556d7b98f5d252c4b49f1312a58a4bf933bcfc29915dd15c1c5b9f3445fb29131d83199f12415c1d779f3293db8efe3e1481
+ b2sums =
e4dd6e2e535e4bb8749eaa2fc08fb83f32fb5e5b47ac1c06d2c26c019a31341af68349c439e53038896d6d3322a481eaddec3656a2a528cd4907afd2e7b77825
pkgname = hut
=====================================
PKGBUILD
=====================================
@@ -2,24 +2,18 @@
# Contributor: Thorben Günther <echo YWRtaW5AeGVucm94Lm5ldAo= | base64 -d>
pkgname=hut
-pkgver=0.4.0
+pkgver=0.5.0
pkgrel=1
pkgdesc='A CLI tool for Sourcehut'
arch=('x86_64')
-url='https://sr.ht/~emersion/hut'
-license=('AGPL3')
+url='https://sr.ht/~xenrox/hut'
+license=('AGPL-3.0-only')
depends=('glibc')
makedepends=('git' 'go' 'scdoc')
options=('!lto' '!debug')
-_commit='0185135be514f389114f84644383b65e9c7ccb4e'
-source=("git+https://git.sr.ht/~emersion/hut#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
- cd "$pkgname"
-
- git describe --tags | sed 's/^v//'
-}
+source=("git+https://git.sr.ht/~xenrox/hut#tag=v$pkgver")
+sha512sums=('8466a0fdcfdd458baaaa3e5382b6556d7b98f5d252c4b49f1312a58a4bf933bcfc29915dd15c1c5b9f3445fb29131d83199f12415c1d779f3293db8efe3e1481')
+b2sums=('e4dd6e2e535e4bb8749eaa2fc08fb83f32fb5e5b47ac1c06d2c26c019a31341af68349c439e53038896d6d3322a481eaddec3656a2a528cd4907afd2e7b77825')
prepare() {
cd "$pkgname"
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/hut/-/commit/e879a643f5fe2647aac7aa765bf58d82bc4d5f7c
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/hut/-/commit/e879a643f5fe2647aac7aa765bf58d82bc4d5f7c
You're receiving this email because of your account on gitlab.archlinux.org.