mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
28 lines
815 B
Bash
28 lines
815 B
Bash
# Maintainer: Krzysztof "hiciu" Warzecha <kwarzecha7@gmail.com>
|
|
|
|
pkgname=findutils
|
|
pkgver=4.4.0
|
|
pkgrel=1
|
|
pkgdesc="GNU utilities to locate files"
|
|
arch=(arm)
|
|
license=('GPL3')
|
|
groups=('base')
|
|
depends=('glibc>=2.8')
|
|
url="http://www.gnu.org/software/findutils"
|
|
source=(ftp://ftp.gnu.org/pub/gnu/findutils/findutils-$pkgver.tar.gz)
|
|
md5sums=('49e769ac4382fae6f104f99d54d0a112')
|
|
|
|
build() {
|
|
cd $startdir/src/$pkgname-$pkgver
|
|
./configure --prefix=/usr
|
|
make || return 1
|
|
mkdir -p $startdir/pkg/usr/var
|
|
make DESTDIR=$startdir/pkg install
|
|
rm -rf $startdir/pkg/usr/libexec
|
|
|
|
# remove locate utils (we use slocate instead)
|
|
rm -f $startdir/pkg/usr/bin/{locate,updatedb}
|
|
rm -f $startdir/pkg/usr/share/man/man1/{updatedb.1,locate.1}
|
|
rm -f $startdir/pkg/usr/share/man/man5/locatedb.5
|
|
rmdir $startdir/pkg/usr/var
|
|
}
|