Date: Thursday, April 28, 2022 @ 15:32:39 Author: alerque Revision: 1191655
Migrate ugrep from AUR Added: ugrep/ ugrep/repos/ ugrep/trunk/ ugrep/trunk/PKGBUILD ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Added: ugrep/trunk/PKGBUILD =================================================================== --- ugrep/trunk/PKGBUILD (rev 0) +++ ugrep/trunk/PKGBUILD 2022-04-28 15:32:39 UTC (rev 1191655) @@ -0,0 +1,30 @@ +# Maintainer: Caleb Maclennan <ca...@alerque.com> +# Contributor: Adria Arrufat <swiftscythe at gmail dot com> + +pkgname=ugrep +pkgver=3.7.9 +pkgrel=2 +pkgdesc="ultra fast grep with interactive TUI, fuzzy search, boolean queries, hexdumps and more" +arch=(x86_64) +license=(BSD) +url="https://github.com/Genivia/ugrep" +depends=(bzip2 + lz4 + pcre2 + xz + zlib + zstd) +_archive="$pkgname-$pkgver" +source=("$url/archive/v$pkgver/$_archive.tar.gz") +sha256sums=('016e771756574a2a0b026ec50f7e7f3898d39cb61771ce98bc225c34d86a03be') + +build() { + cd "$_archive" + ./configure --prefix /usr +} + +package() { + cd "$_archive" + make DESTDIR="$pkgdir" install + install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE.txt +}