Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / 
yubico-piv-tool


Commits:
087b4d04 by Robin Candau at 2024-09-12T18:57:39+02:00
upgpkg: 2.6.1-1: New upstream release + Switch to a more transparent source + 
Use API independent source for nvchecker config
https://github.com/Yubico/yubico-piv-tool/releases/tag/yubico-piv-tool-2.6.1

- - - - -


3 changed files:

- .SRCINFO
- .nvchecker.toml
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
 pkgbase = yubico-piv-tool
        pkgdesc = Command line tool for the YubiKey PIV application
-       pkgver = 2.6.0
+       pkgver = 2.6.1
        pkgrel = 1
        url = https://developers.yubico.com/yubico-piv-tool
        arch = x86_64
@@ -8,15 +8,14 @@ pkgbase = yubico-piv-tool
        makedepends = check
        makedepends = cmake
        makedepends = gengetopt
+       makedepends = git
        makedepends = help2man
        depends = zlib
        depends = glibc
        depends = pcsclite
        depends = openssl
-       source = 
https://developers.yubico.com/yubico-piv-tool/Releases/yubico-piv-tool-2.6.0.tar.gz
-       source = 
https://developers.yubico.com/yubico-piv-tool/Releases/yubico-piv-tool-2.6.0.tar.gz.sig
+       source = 
git+https://github.com/Yubico/yubico-piv-tool.git#tag=yubico-piv-tool-2.6.1?signed
        validpgpkeys = 1D7308B0055F5AEF36944A8F27A9C24D9588EA0F
-       sha256sums = 
80f4b7b7f5a85c86502f3286e2b4bef345a6709f4554088c745994f7027302c1
-       sha256sums = SKIP
+       sha256sums = 
7696887770512683e8c4aca49f9e6eafb08c6a132f14934465546e54f87f7a63
 
 pkgname = yubico-piv-tool


=====================================
.nvchecker.toml
=====================================
@@ -1,6 +1,5 @@
 [yubico-piv-tool]
-source = "github"
-github = "Yubico/yubico-piv-tool"
+source = "git"
+git = "https://github.com/Yubico/yubico-piv-tool.git";
 prefix = "yubico-piv-tool-"
-use_latest_tag = true
-exclude_regex = ".*(pre|a|alpha|b|beta|r|rc).*"
+exclude_regex = "2.*"


=====================================
PKGBUILD
=====================================
@@ -2,21 +2,20 @@
 # Contributor: travisghansen <[email protected]>
 
 pkgname=yubico-piv-tool
-pkgver=2.6.0
+pkgver=2.6.1
 pkgrel=1
 pkgdesc="Command line tool for the YubiKey PIV application"
-arch=('x86_64')
 url="https://developers.yubico.com/yubico-piv-tool";
+arch=('x86_64')
 license=('BSD-2-Clause')
 depends=('zlib' 'glibc' 'pcsclite' 'openssl')
-makedepends=('check' 'cmake' 'gengetopt' 'help2man')
-source=(https://developers.yubico.com/yubico-piv-tool/Releases/"${pkgname}-${pkgver}".tar.gz{,.sig})
-sha256sums=('80f4b7b7f5a85c86502f3286e2b4bef345a6709f4554088c745994f7027302c1'
-            'SKIP')
+makedepends=('check' 'cmake' 'gengetopt' 'git' 'help2man')
+source=("git+https://github.com/Yubico/yubico-piv-tool.git#tag=${pkgname}-${pkgver}?signed";)
+sha256sums=('7696887770512683e8c4aca49f9e6eafb08c6a132f14934465546e54f87f7a63')
 validpgpkeys=('1D7308B0055F5AEF36944A8F27A9C24D9588EA0F') # Aveen Ismail 
<[email protected]>
 
 build() {
-       cmake -B build -S "${pkgname}-${pkgver}" \
+       cmake -B build -S "${pkgname}" \
                -DCMAKE_BUILD_TYPE='None' \
                -DCMAKE_INSTALL_PREFIX='/usr' \
                -Wno-dev
@@ -30,6 +29,6 @@ check() {
 package() {
        DESTDIR="${pkgdir}" cmake --install build
 
-       cd "${pkgname}-${pkgver}"
+       cd "${pkgname}"
        install -Dm 644 COPYING 
"${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/yubico-piv-tool/-/commit/087b4d049922cacfea10b539e928e8d178bb6878

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/yubico-piv-tool/-/commit/087b4d049922cacfea10b539e928e8d178bb6878
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to