Date: Tuesday, March 14, 2023 @ 13:45:34
Author: tpowa
Revision: 470817
archrelease: copy trunk to testing-x86_64
Added:
findutils/repos/testing-x86_64/
findutils/repos/testing-x86_64/PKGBUILD
(from rev 470816, findutils/trunk/PKGBUILD)
findutils/repos/testing-x86_64/keys/
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: findutils/repos/testing-x86_64/PKGBUILD (from rev 470816,
findutils/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2023-03-14 13:45:34 UTC (rev 470817)
@@ -0,0 +1,37 @@
+# Maintainer:
+
+pkgname=findutils
+pkgver=4.9.0
+pkgrel=3
+pkgdesc="GNU utilities to locate files"
+arch=('x86_64')
+license=('GPL3')
+depends=('glibc' 'sh')
+url='https://www.gnu.org/software/findutils/'
+source=("https://ftp.gnu.org/pub/gnu/findutils/${pkgname}-${pkgver}.tar.xz"{,.sig})
+sha256sums=('a2bfb8c09d436770edc59f50fa483e785b161a3b7b9d547573cb08065fd462fe'
+ 'SKIP')
+validpgpkeys=('A5189DB69C1164D33002936646502EF796917195') # Bernhard Voelker
<[email protected]>
+
+build() {
+ cd ${pkgname}-${pkgver}
+
+ # Don't build or install locate because we use mlocate,
+ # which is a secure version of locate.
+ sed -e '/^SUBDIRS/s/locate//' -e 's/frcode locate updatedb//' -i Makefile.in
+
+ ./configure --prefix=/usr
+ # don't build locate, but the docs want a file in there.
+ make -C locate dblocation.texi
+ make
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ make check
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="$pkgdir" install
+}