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


Commits:
d27b2878 by Tobias Powalowski at 2024-08-28T09:57:28+02:00
upgpkg: 4.10.0-2: switch to git building, added nvchecker

- - - - -


3 changed files:

- .SRCINFO
- + .nvchecker.toml
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,16 +1,17 @@
 pkgbase = findutils
        pkgdesc = GNU utilities to locate files
        pkgver = 4.10.0
-       pkgrel = 1
+       pkgrel = 2
        url = https://www.gnu.org/software/findutils/
        arch = x86_64
        license = GPL-3.0-or-later
+       makedepends = git
+       makedepends = wget
+       makedepends = python
        depends = glibc
        depends = sh
-       source = https://ftp.gnu.org/pub/gnu/findutils/findutils-4.10.0.tar.xz
-       source = 
https://ftp.gnu.org/pub/gnu/findutils/findutils-4.10.0.tar.xz.sig
+       source = 
git+https://git.savannah.gnu.org/git/findutils.git?signed#tag=v4.10.0
        validpgpkeys = A5189DB69C1164D33002936646502EF796917195
-       sha256sums = 
1387e0b67ff247d2abde998f90dfbf70c1491391a59ddfecb8ae698789f0a4f5
-       sha256sums = SKIP
+       b2sums = 
a6d99d922df4c6895d9956a6902518c5f911e6ad1fdcbfc99bb083ce0a725fa4e87bb83a1a2d16e6d900755da9e9094b20f56f971c8e6a6008572cd417fe3e95
 
 pkgname = findutils


=====================================
.nvchecker.toml
=====================================
@@ -0,0 +1,4 @@
+[coreutils]
+source = "git"
+git = "https://git.savannah.gnu.org/git/findutils.git";
+prefix = "v"


=====================================
PKGBUILD
=====================================
@@ -1,20 +1,25 @@
-# Maintainer:
+# Maintainer: Tobias Powalowski <[email protected]>
 
 pkgname=findutils
 pkgver=4.10.0
-pkgrel=1
+pkgrel=2
 pkgdesc="GNU utilities to locate files"
 arch=('x86_64')
 license=('GPL-3.0-or-later')
 depends=('glibc' 'sh')
+makedepends=('git' 'wget' 'python')
 url='https://www.gnu.org/software/findutils/'
-source=("https://ftp.gnu.org/pub/gnu/findutils/${pkgname}-${pkgver}.tar.xz"{,.sig})
-sha256sums=('1387e0b67ff247d2abde998f90dfbf70c1491391a59ddfecb8ae698789f0a4f5'
-            'SKIP')
+source=("git+https://git.savannah.gnu.org/git/findutils.git?signed#tag=v${pkgver}";)
+b2sums=('a6d99d922df4c6895d9956a6902518c5f911e6ad1fdcbfc99bb083ce0a725fa4e87bb83a1a2d16e6d900755da9e9094b20f56f971c8e6a6008572cd417fe3e95')
 validpgpkeys=('A5189DB69C1164D33002936646502EF796917195') # Bernhard Voelker 
<[email protected]>
 
+prepare() {
+  cd "${pkgname}"
+  ./bootstrap
+}
+
 build() {
-  cd ${pkgname}-${pkgver}
+  cd "${pkgname}"
 
   # Don't build or install locate because we use mlocate,
   # which is a secure version of locate.
@@ -27,11 +32,11 @@ build() {
 }
 
 check() {
-  cd ${pkgname}-${pkgver}
+  cd "${pkgname}"
   make check
 }
 
 package() {
-  cd ${pkgname}-${pkgver}
-  make DESTDIR="$pkgdir" install
+  cd "${pkgname}"
+  make DESTDIR="${pkgdir}" install
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/findutils/-/commit/d27b2878cc32d65b22f35ca9d1246cbe64434f6f

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


Reply via email to