25 lines
827 B
Text
25 lines
827 B
Text
![]() |
# Description: Sources for time zone and daylight saving time data
|
||
|
# URL:
|
||
|
# Maintainer:
|
||
|
# Depends on:
|
||
|
|
||
|
name=tzdata
|
||
|
version=2019c
|
||
|
release=1
|
||
|
source=(https://www.iana.org/time-zones/repository/releases/${name}${version}.tar.gz)
|
||
|
|
||
|
build() {
|
||
|
ZONEINFO=$PKG/usr/share/zoneinfo
|
||
|
mkdir -pv $ZONEINFO/{posix,right}
|
||
|
|
||
|
for tz in etcetera southamerica northamerica europe africa antarctica \
|
||
|
asia australasia backward pacificnew systemv; do
|
||
|
zic -L /dev/null -d $ZONEINFO -y "sh yearistype.sh" ${tz}
|
||
|
zic -L /dev/null -d $ZONEINFO/posix -y "sh yearistype.sh" ${tz}
|
||
|
zic -L leapseconds -d $ZONEINFO/right -y "sh yearistype.sh" ${tz}
|
||
|
done
|
||
|
|
||
|
cp -v zone.tab zone1970.tab iso3166.tab $ZONEINFO
|
||
|
zic -d $ZONEINFO -p America/New_York
|
||
|
}
|