New package: re2.10-2023.03.01

This commit is contained in:
Đoàn Trần Công Danh 2024-06-23 10:44:27 +07:00 committed by Đoàn Trần Công Danh
parent efdb2fbca6
commit 6c45536d44
1 changed files with 25 additions and 0 deletions

View File

@ -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 <orphan@voidlinux.org>"
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
}