pkgs/grep/PKGBUILD

25 lines
491 B
Text
Raw Normal View History

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