Subject: [PATCH v2] testing/tre: new aport

From: Al-Hassan Abdel-Raouf <[email-masked]>
Date: Wed, 14 Oct 2020 15:30:01 +0200

https://laurikari.net/tre
POSIX compliant regexp matching library.
Includes agrep for approximate grepping.
---
 testing/tre/APKBUILD | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 testing/tre/APKBUILD

diff --git a/testing/tre/APKBUILD b/testing/tre/APKBUILD
new file mode 100644
index 0000000000..eddfb91bd3
--- /dev/null
+++ b/testing/tre/APKBUILD
@@ -0,0 +1,22 @@
+# Contributor:
+# Maintainer:
+pkgname=tre
+pkgver=0.8.0
+pkgrel=0
+pkgdesc="POSIX compliant regexp matching library. Includes agrep for approximate grepping."
+url="https://laurikari.net/tre"
+arch="all"
+license="BSD"
+subpackages="$pkgname-doc $pkgname-dev"
+source="https://laurikari.net/tre/tre-$pkgver.tar.bz2"
+
+build() {
+	./configure --prefix=/usr --enable-static
+	make
+}
+
+package() {
+	make DESTDIR="$pkgdir" install
+}
+
+sha512sums="db7465993e0d25eee8e52f974427b8a040234cf0f017769eb94ee88bc6261821336aad7f762bfa82db7e2212d8449bc221592586f061c528a59a550773cbc263  tre-0.8.0.tar.bz2"
-- 
2.28.0