mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 02:22:15 +08:00
35 lines
876 B
Bash
35 lines
876 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=findutils
|
|
pkgver=4.4.2
|
|
pkgrel=4
|
|
pkgdesc="GNU utilities to locate files"
|
|
arch=('i686' 'x86_64')
|
|
license=('GPL3')
|
|
groups=('base')
|
|
depends=('glibc' 'sh')
|
|
url="http://www.gnu.org/software/findutils"
|
|
source=(ftp://ftp.gnu.org/pub/gnu/findutils/findutils-$pkgver.tar.gz)
|
|
install=findutils.install
|
|
sha1sums=('e8dd88fa2cc58abffd0bfc1eddab9020231bb024')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
# Don't build or install locate because we use mlocate,
|
|
# which is a secure version of locate.
|
|
sed -i '/^SUBDIRS/s/locate//' Makefile.in
|
|
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR=$pkgdir install
|
|
}
|