pkgs/grep/PKGBUILD

24 lines
491 B
Bash

# Maintainer: Daryl Ronningen <relms@relms.dev>
pkgname=grep
pkgver=3.11
pkgrel=1
pkgdesc="A string search utility"
arch=("x86_64")
url="https://www.gnu.org/software/grep/"
license=("GPL3")
depends=("pcre2")
source=("https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz")
sha256sums=("1db2aedde89d0dea42b16d9528f894c8d15dae4e190b59aecc78f5a951276eab")
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR=$pkgdir install
}