26 lines
637 B
Bash
26 lines
637 B
Bash
# Maintainers: Daryl Ronningen <relms@relms.dev>
|
|
|
|
pkgname=findutils
|
|
pkgver=4.9.0
|
|
pkgrel=1
|
|
pkgdesc="GNU utilities to locate files"
|
|
arch=("x86_64")
|
|
url="https://www.gnu.org/software/findutils/"
|
|
license=("GPL3")
|
|
source=("https://ftp.gnu.org/pub/gnu/findutils/findutils-$pkgver.tar.xz")
|
|
sha256sums=("a2bfb8c09d436770edc59f50fa483e785b161a3b7b9d547573cb08065fd462fe")
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
|
|
./configure --prefix=/usr --libexecdir=/usr/lib --enable-leaf-optimisation --enable-d_type-optimization
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR=$pkgdir install
|
|
|
|
# mlocate instead
|
|
rm -rf $pkgdir/usr/bin/{locate,updatedb}
|
|
}
|