From 6c45536d448f9fd2b98b10dfb98f6c70a31a3297 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 23 Jun 2024 10:44:27 +0700 Subject: [PATCH] New package: re2.10-2023.03.01 --- srcpkgs/libre2.10/template | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 srcpkgs/libre2.10/template diff --git a/srcpkgs/libre2.10/template b/srcpkgs/libre2.10/template new file mode 100644 index 00000000000..ec11d883e67 --- /dev/null +++ b/srcpkgs/libre2.10/template @@ -0,0 +1,25 @@ +# Template file for 'libre2.10' +# +# packaged to avoid rebuild electron and qt5-webengine +pkgname=libre2.10 +version=2023.03.01 +revision=1 +build_style=gnu-makefile +short_desc="Efficient, principled regular expression library" +maintainer="Orphaned " +license="BSD-3-Clause" +homepage="https://github.com/google/re2" +distfiles="https://github.com/google/re2/archive/${version//./-}.tar.gz" +checksum=7a9a4824958586980926a300b4717202485c4b4115ac031822e29aa4ef207e48 +provides="re2-${version}" + +post_install() { + vlicense LICENSE + # This package to provides libre2.so.10, + # those packages that aint rebuilt will use this package + # They can be rebuild with new re2-devel + rm -rf ${DESTDIR}/usr/include + rm -rf ${DESTDIR}/usr/lib/*.a + rm -rf ${DESTDIR}/usr/lib/*.so + rm -rf ${DESTDIR}/usr/lib/pkgconfig +}