From 15f25a4f75dc00fc9074ec3222aca7c20b856bc4 Mon Sep 17 00:00:00 2001 From: lz-coder Date: Fri, 20 Jan 2023 02:34:40 -0300 Subject: [PATCH] New package: chrono-date-3.0.1 --- common/shlibs | 1 + srcpkgs/chrono-date-devel | 1 + srcpkgs/chrono-date/template | 28 ++++++++++++++++++++++++++++ 3 files changed, 30 insertions(+) create mode 120000 srcpkgs/chrono-date-devel create mode 100644 srcpkgs/chrono-date/template diff --git a/common/shlibs b/common/shlibs index 85c08f13a05f..6a2c8e447c28 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4224,3 +4224,4 @@ libIlmThread-3_1.so.30 libopenexr-3.1.5_1 libOpenEXR-3_1.so.30 libopenexr-3.1.5_1 libOpenEXRCore-3_1.so.30 libopenexr-3.1.5_1 libOpenEXRUtil-3_1.so.30 libopenexr-3.1.5_1 +libdate-tz.so.3 chrono-date-3.0.1_1 diff --git a/srcpkgs/chrono-date-devel b/srcpkgs/chrono-date-devel new file mode 120000 index 000000000000..7ba11f09e6bd --- /dev/null +++ b/srcpkgs/chrono-date-devel @@ -0,0 +1 @@ +chrono-date \ No newline at end of file diff --git a/srcpkgs/chrono-date/template b/srcpkgs/chrono-date/template new file mode 100644 index 000000000000..8802629fd99e --- /dev/null +++ b/srcpkgs/chrono-date/template @@ -0,0 +1,28 @@ +# Template file for 'chrono-date' +pkgname=chrono-date +version=3.0.1 +revision=1 +build_style=cmake +configure_args="-DBUILD_SHARED_LIBS=true -DBUILD_TZ_LIB=true + -DUSE_SYSTEM_TZ_DB=true -DENABLE_DATE_TESTING=true" +short_desc="Date and time library based on the C++11/14/17 header" +maintainer="lz-coder " +license="MIT" +homepage="https://howardhinnant.github.io/date/date.html" +changelog="https://github.com/HowardHinnant/date/releases" +distfiles="https://github.com/HowardHinnant/date/archive/v${version}.tar.gz" +checksum=7a390f200f0ccd207e8cff6757e04817c1a0aec3e327b006b7eb451c57ee3538 + +post_install() { + vlicense LICENSE.txt +} + +chrono-date-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/cmake + vmove "usr/lib/*.so" + } +}