summaryrefslogtreecommitdiff
path: root/libs/pcre2/MAKEPKG
diff options
context:
space:
mode:
Diffstat (limited to 'libs/pcre2/MAKEPKG')
-rw-r--r--libs/pcre2/MAKEPKG36
1 files changed, 36 insertions, 0 deletions
diff --git a/libs/pcre2/MAKEPKG b/libs/pcre2/MAKEPKG
new file mode 100644
index 0000000..d31bc61
--- /dev/null
+++ b/libs/pcre2/MAKEPKG
@@ -0,0 +1,36 @@
+#!/bin/mkpkg
+# description: Perl Compatible Regular Expressions (legacy)
+# url: https://www.pcre.org
+
+name=pcre2
+version=10.48
+release=1
+source=(
+ https://github.com/PCRE2Project/pcre2/releases/download/$name-$version/$name-$version.tar.bz2
+)
+sha256sums=(
+ "b6c68fdf6f3ac31388b50aa89ff0fc49c00c987c16e7b5146491d12003f2c8ed"
+)
+
+build() {
+ cd $name-$version
+
+ ./configure \
+ --prefix=/usr \
+ --enable-utf8 \
+ --enable-unicode-properties \
+ --enable-jit
+
+ make
+ make DESTDIR=$PKG install
+
+ rm -rf $PKG/usr/share/doc
+ rm -f $PKG/usr/lib/*.la
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh