pkgs/grep/PKGBUILD

23 lines
473 B
Bash

# Maintainer: Daryl Ronningen <relms@relms.dev>
pkgname=grep
pkgver=3.11
pkgrel=1
pkgdesc="A string search utility"
arch=("x86_64")
license=("GPL3")
url="https://www.gnu.org/software/grep/"
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
}