kpcyrd pushed to branch main at Arch Linux / Packaging / Packages / swhid


Commits:
c80e8754 by kpcyrd at 2026-01-21T15:22:33+01:00
upgpkg: 0.2.2-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
 pkgbase = swhid
        pkgdesc = Reference implementation of the Software Hash Identifier 
(SWHID) standard - ISO 18670
-       pkgver = 0.2.0
+       pkgver = 0.2.2
        pkgrel = 1
        url = https://github.com/swhid/swhid-rs
        arch = x86_64
@@ -8,9 +8,8 @@ pkgbase = swhid
        makedepends = cargo
        depends = gcc-libs
        depends = glibc
-       options = !lto
-       source = 
swhid-0.2.0.tar.gz::https://crates.io/api/v1/crates/swhid/0.2.0/download
-       sha256sums = 
5add61bd640300bc2e02d5433cb8bbd4875e84f905efd561a815d2b5ccbd9fc3
-       b2sums = 
ded555bf619a933c0c26da45218d5ff35d1b436f6b5b41612bbc22c2e93eb57b0c2d3fdd2e90db4356021444106a30baee34c0ceb2c6c56c076d29dc219ead61
+       source = 
swhid-0.2.2.tar.gz::https://github.com/swhid/swhid-rs/archive/refs/tags/v0.2.2.tar.gz
+       sha256sums = 
9f79465de20825c0c093f11b786ab25e6b19353b233993c613c30236853f270d
+       b2sums = 
5a5e296c8f35af0e192e4469cf62833d10566cb5cc8a969be4522c1db57ec5179f22d319f360d3a384a94fb109bebccd11f550cbb38ccdf8c457366284797d08
 
 pkgname = swhid


=====================================
PKGBUILD
=====================================
@@ -1,7 +1,7 @@
 # Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
 
 pkgname=swhid
-pkgver=0.2.0
+pkgver=0.2.2
 pkgrel=1
 pkgdesc="Reference implementation of the Software Hash Identifier (SWHID) 
standard - ISO 18670"
 url='https://github.com/swhid/swhid-rs'
@@ -14,29 +14,28 @@ depends=(
 makedepends=(
   'cargo'
 )
-options=(!lto)
-source=("${pkgname}-${pkgver}.tar.gz::https://crates.io/api/v1/crates/${pkgname}/${pkgver}/download";)
-sha256sums=('5add61bd640300bc2e02d5433cb8bbd4875e84f905efd561a815d2b5ccbd9fc3')
-b2sums=('ded555bf619a933c0c26da45218d5ff35d1b436f6b5b41612bbc22c2e93eb57b0c2d3fdd2e90db4356021444106a30baee34c0ceb2c6c56c076d29dc219ead61')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/swhid/swhid-rs/archive/refs/tags/v${pkgver}.tar.gz";)
+sha256sums=('9f79465de20825c0c093f11b786ab25e6b19353b233993c613c30236853f270d')
+b2sums=('5a5e296c8f35af0e192e4469cf62833d10566cb5cc8a969be4522c1db57ec5179f22d319f360d3a384a94fb109bebccd11f550cbb38ccdf8c457366284797d08')
 
 prepare() {
-  cd "${pkgname}-${pkgver}"
+  cd "${pkgname}-rs-${pkgver}"
   cargo fetch --locked --target "$(rustc --print host-tuple)"
 }
 
 build() {
-  cd "${pkgname}-${pkgver}"
+  cd "${pkgname}-rs-${pkgver}"
   cargo build --frozen --release
 }
 
 check() {
-  cd "${pkgname}-${pkgver}"
+  cd "${pkgname}-rs-${pkgver}"
   cargo test --frozen
   target/release/swhid --help
 }
 
 package() {
-  cd "${pkgname}-${pkgver}"
+  cd "${pkgname}-rs-${pkgver}"
   install -Dm 755 -t "${pkgdir}/usr/bin" \
     target/release/swhid
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/swhid/-/commit/c80e8754af8c46c814a4f8c16421a5d20d684e17

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


Reply via email to