Files
gentoo-zh/dev-cpp/date/date-3.0.5.ebuild
2026-10-22 08:43:03 +11:00

19 lines
486 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 ~arm64"
src_install() {
doheader -r include/date
dodir /usr/src
cp -r src "${ED}/usr/src/date" || die
}