# Maintainer: Adria Arrufat pkgname=ugrep pkgver=3.3.8 pkgrel=1 pkgdesc="Universal grep: ultra fast searcher of file systems, text and binary files, source code, archives, compressed files, documents, and more." arch=(x86_64) license=(BSD-3) url="https://github.com/Genivia/ugrep" depends=(bzip2 lz4 pcre2 xz zlib) source=("https://github.com/Genivia/ugrep/archive/v${pkgver}.tar.gz") sha256sums=('1bdc73ca5fc12a41c2f7949900edee0972ca3e5f39066c8d68449846df4cf1d7') build() { cd ${pkgname}-${pkgver} ./build.sh --prefix=${pkgdir}/usr/ } package() { cd ${pkgname}-${pkgver} make install install -D -m644 LICENSE.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE }