Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: chrono-date-3.0.1
@ 2023-01-20  5:37 lz-coder
  2023-01-20  5:46 ` [PR PATCH] [Updated] " lz-coder
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: lz-coder @ 2023-01-20  5:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1090 bytes --]

There is a new pull request by lz-coder against master on the void-packages repository

https://github.com/lz-coder/void-packages chrono-date
https://github.com/void-linux/void-packages/pull/41750

New package: chrono-date-3.0.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (X86_64-GLIBC)


A patch file from https://github.com/void-linux/void-packages/pull/41750.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-chrono-date-41750.patch --]
[-- Type: text/x-diff, Size: 1433 bytes --]

From 6593b9f13793caaab36354bba315499ddba19a2f Mon Sep 17 00:00:00 2001
From: lz-coder <lzcoder@proton.me>
Date: Fri, 20 Jan 2023 02:34:40 -0300
Subject: [PATCH] New package: chrono-date-3.0.1

---
 srcpkgs/chrono-date/template | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 srcpkgs/chrono-date/template

diff --git a/srcpkgs/chrono-date/template b/srcpkgs/chrono-date/template
new file mode 100644
index 000000000000..72b720937996
--- /dev/null
+++ b/srcpkgs/chrono-date/template
@@ -0,0 +1,29 @@
+# Template file for 'chrono-date'
+pkgname=chrono-date
+version=3.0.1
+revision=1
+hostmakedepends="cmake"
+short_desc="Date and time library based on the C++11/14/17 <chrono> header"
+maintainer="lz-coder <lzcoder@proton.me>"
+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
+
+do_build() {
+	cmake -B build -S "." \
+		-DCMAKE_BUILD_TYPE=None \
+		-DCMAKE_INSTALL_PREFIX=/usr \
+		-DBUILD_SHARED_LIBS=true \
+		-DBUILD_TZ_LIB=true \
+		-DUSE_SYSTEM_TZ_DB=true \
+		-DENABLE_DATE_TESTING=true \
+		-Wno-dev
+}
+
+do_install() {
+	make -C build DESTDIR="${DESTDIR}/" install
+	vlicense LICENSE.txt
+	vinstall README.md 644 "/usr/share/dock/${pkgname}"
+}

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-02-07  7:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-20  5:37 [PR PATCH] New package: chrono-date-3.0.1 lz-coder
2023-01-20  5:46 ` [PR PATCH] [Updated] " lz-coder
2023-01-20  6:21 ` classabbyamp
2023-01-20  7:01 ` [PR PATCH] [Updated] " lz-coder
2023-01-20 15:34 ` lz-coder
2023-01-20 15:38 ` lz-coder
2023-01-22  1:47 ` [PR REVIEW] " classabbyamp
2023-01-22  3:12 ` [PR PATCH] [Updated] " lz-coder
2023-02-07  7:46 ` [PR PATCH] [Merged]: " classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).