Subject: [PATCH] testing/ugrep: new aport

From: Francesco Camuffo <[email-masked]>
Date: Mon, 29 Mar 2021 14:26:56 +0200

https://github.com/Genivia/ugrep/wiki
Ultra fast grep with interactive query UI and fuzzy search
---
 testing/ugrep/APKBUILD | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 testing/ugrep/APKBUILD

diff --git a/testing/ugrep/APKBUILD b/testing/ugrep/APKBUILD
new file mode 100644
index 0000000000..c6f288d142
--- /dev/null
+++ b/testing/ugrep/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Francesco Camuffo <[email-masked]>
+# Maintainer: Francesco Camuffo <[email-masked]>
+pkgname=ugrep
+pkgver=3.1.10
+pkgrel=0
+pkgdesc="Ultra fast grep with interactive query UI and fuzzy search"
+url="https://github.com/Genivia/ugrep/wiki"
+arch="all"
+license="BSD 3-Clause License"
+makedepends="bash bzip2-dev gcc lz4-dev pcre2-dev xz-dev zlib-dev"
+subpackages="$pkgname-doc"
+source="
+	$pkgname-$pkgver.tar.gz::https://github.com/Genivia/ugrep/archive/refs/tags/v$pkgver.tar.gz
+"
+
+build() {
+	./build.sh --prefix=/usr
+}
+
+check() {
+	make test
+}
+
+package() {
+	make DESTDIR="$pkgdir" install
+	install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+}
+
+sha512sums="fbd8e6bb62915450d15325a05cb3834ae2c4fe8a6abdf30357877d5785d7f60e37594e9c9de4ab4f536439f13da82d87dc15313d90d209e9b7fdff6f817e9e58  ugrep-3.1.10.tar.gz"
-- 
2.30.2