new: lfs-12.2-systemd/grep-3.11
This commit is contained in:
parent
4c76dea2ad
commit
e88d779b5f
27
lfs-12.2-systemd/grep-3.11.PKGBUILD
Normal file
27
lfs-12.2-systemd/grep-3.11.PKGBUILD
Normal file
@ -0,0 +1,27 @@
|
||||
pkgname=grep
|
||||
pkgver=3.11
|
||||
pkgdesc='A string search utility'
|
||||
license=('GPL3')
|
||||
homepage='https://www.gnu.org/software/grep/'
|
||||
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||
urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}")
|
||||
md5sums=('7c9bbd74492131245f7cdb291fa142c0')
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
sed -i "s/echo/#echo/" src/egrep.sh
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
src_check() {
|
||||
make check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user