mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-10 20:08:43 -04:00
22 lines
532 B
Bash
22 lines
532 B
Bash
# Copyright 2021-2023 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
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}.zip -> ${P}.zip"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
RESTRICT="mirror"
|
|
|
|
BDEPEND="app-arch/unzip"
|
|
|
|
src_install() {
|
|
doheader -r include/date
|
|
mkdir -p "${D}/usr/src" || die
|
|
cp -r src "${D}/usr/src/date" || die
|
|
}
|