30 lines
693 B
Plaintext
30 lines
693 B
Plaintext
# Description: cp and mv utilities with progress bar patches
|
|
# URL: https://www.gnu.org/software/coreutils/
|
|
# Packager: milisarge
|
|
# Depends on:
|
|
|
|
name=advcp
|
|
_name=coreutils
|
|
version=8.24
|
|
release=1
|
|
|
|
source=(ftp://ftp.gnu.org/gnu/$_name/$_name-$version.tar.xz
|
|
advcpmv-${version}.patch)
|
|
|
|
|
|
build() {
|
|
export FORCE_UNSAFE_CONFIGURE=1
|
|
cd ${SRC}/${_name}-${version}
|
|
|
|
patch -p1 -i ${SRC}/advcpmv-${version}.patch
|
|
|
|
./configure --prefix=/usr \
|
|
--libexecdir=/usr/lib \
|
|
--enable-no-install-program=groups,hostname,kill,uptime
|
|
make $MAKEFLAGS -j1
|
|
cd ${SRC}/${_name}-${version}
|
|
install -D src/cp ${PKG}/usr/bin/acp
|
|
install -D src/mv ${PKG}/usr/bin/amv
|
|
|
|
}
|