Date: Thursday, April 28, 2022 @ 15:33:56 Author: alerque Revision: 1191656
archrelease: copy trunk to community-x86_64 Added: ugrep/repos/community-x86_64/ ugrep/repos/community-x86_64/PKGBUILD (from rev 1191655, ugrep/trunk/PKGBUILD) ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Copied: ugrep/repos/community-x86_64/PKGBUILD (from rev 1191655, ugrep/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2022-04-28 15:33:56 UTC (rev 1191656) @@ -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 +}