first commit

This commit is contained in:
ngn
2024-07-09 16:44:10 +03:00
commit e1683c711c
66 changed files with 1364 additions and 0 deletions

2
src/grep/.cache/last Normal file
View File

@ -0,0 +1,2 @@
887a9e7065789d9d1b4dcd6c4f733779
f1d5924af55a63998ee131fd1f8d1132

2
src/grep/changes.md Normal file
View File

@ -0,0 +1,2 @@
# 3.11
No changes specified

23
src/grep/pkg.sh Normal file
View File

@ -0,0 +1,23 @@
# general info
NAME="grep"
DESC="Programs for searching through the contents of files"
VERSION="3.11"
# required files
FILES=("https://ftp.gnu.org/gnu/grep/grep-${VERSION}.tar.xz")
HASHES=("7c9bbd74492131245f7cdb291fa142c0")
# install and build depends
DEPENDS=("glibc" "pcre2")
BUILD=()
build(){
tar xf "${NAME}-${VERSION}.tar.xz"
cd "${NAME}-${VERSION}"
sed -i "s/echo/#echo/" src/egrep.sh
./configure --prefix=/usr && make
make DESTDIR="${ROOTDIR}" install
cd .. && rm -r "${NAME}-${VERSION}"
}