games-arcade/osu-lazer: add 2024.521.2, drop 2024.519.1
[gentoo-zh.git] / dev-cpp / date / date-3.0.1.ebuild
blob8ddda82cbfe161a8ec70ea904dedefc79700731b
1 # Copyright 2021-2023 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=7
6 DESCRIPTION="A date and time library based on the C++11/14/17 <chrono> header"
7 HOMEPAGE="https://github.com/HowardHinnant/date"
8 SRC_URI="https://github.com/HowardHinnant/${PN}/archive/refs/tags/v${PV}.zip -> ${P}.zip"
10 LICENSE="MIT"
11 SLOT="0"
12 KEYWORDS="~amd64"
13 RESTRICT="mirror"
15 BDEPEND="app-arch/unzip"
17 src_install() {
18         doheader -r include/date
19         mkdir -p "${D}/usr/src" || die
20         cp -r src "${D}/usr/src/date" || die