Files
gentoo-zh/dev-cpp/date/date-3.0.5.ebuild
T
Zakk 72191090a1 dev-cpp/date: add 3.0.5, drop 3.0.4
Upstream 3.0.5 only touches the headers and src/tz.cpp, the build is
unchanged. Switch to EAPI 8 while here, and use dodir plus ${ED} instead
of mkdir in ${D}.

Closes: https://github.com/gentoo-zh/overlay/issues/11468

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-07-28 17:54:29 +10:00

19 lines
479 B
Bash

# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="A date and time library based on the C++11/14/17 <chrono> header"
HOMEPAGE="https://github.com/HowardHinnant/date"
SRC_URI="https://github.com/HowardHinnant/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
src_install() {
doheader -r include/date
dodir /usr/src
cp -r src "${ED}/usr/src/date" || die
}