68 lines
2.1 KiB
Bash
68 lines
2.1 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://git.disroot.org/joborun-pkg/jobcore/src/branch/main/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=findutils
|
|
pkgver=4.10.0
|
|
pkgrel=02
|
|
pkgdesc="GNU utilities to locate files"
|
|
#groups=('base-devel') # base-devel was replaced by a metapackage in arch - equivalent is jobbot in joborun
|
|
depends=('glibc' 'sh')
|
|
makedepends=(git wget python automake autoconf gettext bison)
|
|
url='https://www.gnu.org/software/findutils/'
|
|
source=("git+https://git.savannah.gnu.org/git/findutils.git?signed#tag=v${pkgver}")
|
|
#source=("https://ftp.gnu.org/pub/gnu/findutils/${pkgname}-${pkgver}.tar.xz"{,.sig})
|
|
|
|
prepare() {
|
|
cd "$pkgname"
|
|
./bootstrap
|
|
}
|
|
|
|
build() {
|
|
cd $pkgname
|
|
|
|
# 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
|
|
}
|
|
|
|
#
|
|
# one test fails due to an upstream falty path of init.sh with output:
|
|
# FAIL: tests/find/execdir-fd-leak.sh
|
|
# So I decided to skip the check and build the package !!
|
|
# Read the note stored in this directory about the issue.
|
|
# test that fails is: FAIL: tests/find/execdir-fd-leak.sh
|
|
#
|
|
#
|
|
#check() {
|
|
# cd $pkgname
|
|
# make check
|
|
#}
|
|
#
|
|
|
|
package() {
|
|
cd $pkgname
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=(x86_64)
|
|
|
|
license=('GPL-3.0-or-later')
|
|
|
|
validpgpkeys=('A5189DB69C1164D33002936646502EF796917195') # Bernhard Voelker <mail@bernhard-voelker.de>
|
|
|
|
b2sums=('a6d99d922df4c6895d9956a6902518c5f911e6ad1fdcbfc99bb083ce0a725fa4e87bb83a1a2d16e6d900755da9e9094b20f56f971c8e6a6008572cd417fe3e95')
|
|
sha256sums=(58d781cb578624f5def727332a87cbdd9a6e467a173bf7a3ab2971adfc1ead39) # findutils
|
|
|
|
## eded43734015a621b65b134b540ad10e26525eb47eb6c44ab2bbb28d92c302c7 findutils-4.10.0-02-x86_64.pkg.tar.lz
|
|
|