summaryrefslogtreecommitdiff
path: root/core/pcre2/MAKEPKG
diff options
context:
space:
mode:
Diffstat (limited to 'core/pcre2/MAKEPKG')
-rw-r--r--core/pcre2/MAKEPKG45
1 files changed, 45 insertions, 0 deletions
diff --git a/core/pcre2/MAKEPKG b/core/pcre2/MAKEPKG
new file mode 100644
index 0000000..43aab6b
--- /dev/null
+++ b/core/pcre2/MAKEPKG
@@ -0,0 +1,45 @@
+#!/bin/mkpkg
+# description: Perl Compatible Regular Expressions (v2)
+# url: https://github.com/PCRE2Project/pcre2
+
+name=pcre2
+version=10.48
+release=1
+source=(https://github.com/PCRE2Project/pcre2/releases/download/pcre2-$version/pcre2-$version.tar.bz2)
+depends=()
+makedeps=()
+
+sha256sums=(
+ "b6c68fdf6f3ac31388b50aa89ff0fc49c00c987c16e7b5146491d12003f2c8ed"
+)
+
+build() {
+ cd pcre2-$version
+
+ ./configure \
+ --prefix=/ \
+ --libdir=/lib \
+ --includedir=/include \
+ --bindir=/bin \
+ --mandir=/usr/share/man \
+ --disable-static \
+ --enable-unicode \
+ --enable-pcre2-16 \
+ --enable-pcre2-32 \
+ --enable-pcre2grep-libz \
+ --disable-pcre2grep-libbz2 \
+ --enable-jit
+
+ make
+ make DESTDIR=$PKG install
+
+ # Remove docs
+ rm -rf $PKG/share
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh