Tobias Powalowski pushed to branch main at Arch Linux / Packaging / Packages / 
pciutils


Commits:
ae5bbeb6 by Tobias Powalowski at 2024-06-03T20:23:05+02:00
upgpkg: 3.13.0-1: switch to git sources, update to latest version

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,10 +1,10 @@
 pkgbase = pciutils
        pkgdesc = PCI bus configuration space access library and tools
-       pkgver = 3.12.0
+       pkgver = 3.13.0
        pkgrel = 1
        url = https://mj.ucw.cz/sw/pciutils/
        arch = x86_64
-       license = GPL2
+       license = GPL-2.0-only
        makedepends = git
        depends = glibc
        depends = hwdata
@@ -12,10 +12,8 @@ pkgbase = pciutils
        optdepends = which: for update-pciids
        optdepends = grep: for update-pciids
        optdepends = curl: for update-pciids
-       source = https://mj.ucw.cz/download/linux/pci/pciutils-3.12.0.tar.gz
-       source = 
https://mj.ucw.cz/download/linux/pci/pciutils-3.12.0.tar.gz.sign
+       source = 
git+https://git.kernel.org/pub/scm/utils/pciutils/pciutils.git#tag=v3.13.0?signed
        validpgpkeys = C466A56CADA981F4297D20C31F3D0761D9B65F0B
-       sha256sums = 
827a641d2016a15f0b959804daa5a05f055d0f91d58a70d32ac41ce7ef94164e
-       sha256sums = SKIP
+       sha256sums = 
a198253ac31ee593aeaa4e84c4393f7ad9b1e513ebc6f85c42802dc4c744691d
 
 pkgname = pciutils


=====================================
PKGBUILD
=====================================
@@ -1,27 +1,26 @@
 # Maintainer: Tobias Powalowski <[email protected]>
 pkgname=pciutils
-pkgver=3.12.0
+pkgver=3.13.0
 pkgrel=1
 pkgdesc="PCI bus configuration space access library and tools"
 arch=(x86_64)
-license=('GPL2')
+license=('GPL-2.0-only')
 url="https://mj.ucw.cz/sw/pciutils/";
 depends=('glibc' 'hwdata' 'kmod')
 makedepends=('git')
 optdepends=('which: for update-pciids'
             'grep: for update-pciids'
            'curl: for update-pciids')  
-source=(#ftp://ftp.kernel.org/pub/software/utils/${pkgname}/${pkgname}-${pkgver}.tar.bz2
-        
https://mj.ucw.cz/download/linux/pci/${pkgname}-${pkgver}.tar.gz{,.sign})
-        #git+https://github.com/pciutils/pciutils.git#tag=v$pkgver?signed)
+source=(
+        
git+https://git.kernel.org/pub/scm/utils/pciutils/pciutils.git#tag=v$pkgver?signed
+       )
 validpgpkeys=(
               'C466A56CADA981F4297D20C31F3D0761D9B65F0B' # Martin Mares 
<[email protected]>
              )
-sha256sums=('827a641d2016a15f0b959804daa5a05f055d0f91d58a70d32ac41ce7ef94164e'
-            'SKIP')
+sha256sums=('a198253ac31ee593aeaa4e84c4393f7ad9b1e513ebc6f85c42802dc4c744691d')
 
 build() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make OPT="${CFLAGS} -fPIC -DPIC" ZLIB=no SHARED=no PREFIX=/usr 
SHAREDIR=/usr/share/hwdata MANDIR=/usr/share/man SBINDIR=/usr/bin lib/libpci.a 
   cp lib/libpci.a "${srcdir}/"
   make clean
@@ -29,7 +28,7 @@ build() {
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make SHARED=yes PREFIX=/usr SBINDIR=/usr/bin SHAREDIR=/usr/share/hwdata 
MANDIR=/usr/share/man DESTDIR="${pkgdir}" install install-lib
   rm -rf "$pkgdir"/usr/share/hwdata
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/pciutils/-/commit/ae5bbeb67fc16a8164fb253ce3dd87d79a9db702

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


Reply via email to