# Template file for 'R-cran-lubridate'
pkgname=R-cran-lubridate
version=1.7.9
revision=2
build_style=R-cran
makedepends="R-cran-generics R-cran-Rcpp"
depends="R-cran-generics R-cran-Rcpp>=0.12.13"
short_desc="Make Dealing with Dates a Little Easier"
maintainer="Florian Wagner <florian@wagner-flo.net>"
license="GPL-2.0-or-later"
homepage="https://github.com/tidyverse/lubridate"
checksum=cbf95ee07323f3912a98f3cfdae04258d7ce1edb259787f284e2be3cddfed272

pre_install() {
	case "$XBPS_TARGET_MACHINE" in
		*-musl) export PKG_CXXFLAGS+=" -D__MUSL__";;
	esac
}
