pkgs/findutils/PKGBUILD

27 lines
637 B
Text
Raw Normal View History

2023-12-05 04:47:04 +00:00
# Maintainers: Daryl Ronningen <relms@relms.dev>
pkgname=findutils
pkgver=4.9.0
pkgrel=1
pkgdesc="GNU utilities to locate files"
2023-12-08 02:05:38 +00:00
arch=("x86_64")
url="https://www.gnu.org/software/findutils/"
license=("GPL3")
2023-12-11 13:18:00 +00:00
source=("https://ftp.gnu.org/pub/gnu/findutils/findutils-$pkgver.tar.xz")
2023-12-08 02:05:38 +00:00
sha256sums=("a2bfb8c09d436770edc59f50fa483e785b161a3b7b9d547573cb08065fd462fe")
2023-12-05 04:47:04 +00:00
build() {
2023-12-08 02:05:38 +00:00
cd $pkgname-$pkgver
2023-12-05 04:47:04 +00:00
2023-12-11 13:18:00 +00:00
./configure --prefix=/usr --libexecdir=/usr/lib --enable-leaf-optimisation --enable-d_type-optimization
2023-12-08 02:05:38 +00:00
make
2023-12-05 04:47:04 +00:00
}
package() {
2023-12-08 02:05:38 +00:00
cd $pkgname-$pkgver
make DESTDIR=$pkgdir install
2023-12-11 13:18:00 +00:00
# mlocate instead
rm -rf $pkgdir/usr/bin/{locate,updatedb}
2023-12-05 04:47:04 +00:00
}