gentoo-zh/dev-cpp/date/date-3.0.3.ebuild
jinqiang zhang 5f48216426 dev-cpp/date: update SRC_URI
Signed-off-by: jinqiang zhang <jinqiang@zhang.my>
2024-11-08 11:44:51 +08:00

19 lines
494 B
Bash

# Copyright 2021-2024 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}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
src_install() {
doheader -r include/date
mkdir -p "${D}/usr/src" || die
cp -r src "${D}/usr/src/date" || die
}