pkgname=tzdata pkgver=2024b pkgrel=1 pkgdesc="Sources for time zone and daylight saving time data" arch=('x86_64') url="https://www.iana.org/time-zones" license=('LicenseRef-tz') options=('!emptydirs') source=(https://www.iana.org/time-zones/repository/releases/${pkgname}${pkgver}.tar.gz) sha256sums=(70e754db126a8d0db3d16d6b4cb5f7ec1e04d5f261255e4558a67fe92d39e550) package() { install -vdm755 ${pkgdir}/usr/share/zoneinfo/{posix,right} for tz in etcetera southamerica northamerica europe africa antarctica \ asia australasia backward do /usr/sbin/zic -L /dev/null -d ${pkgdir}/usr/share/zoneinfo ${tz} /usr/sbin/zic -L /dev/null -d ${pkgdir}/usr/share/zoneinfo/posix ${tz} /usr/sbin/zic -L leapseconds -d ${pkgdir}/usr/share/zoneinfo/right ${tz} done cp -v zone.tab zone1970.tab iso3166.tab ${pkgdir}/usr/share/zoneinfo /usr/sbin/zic -d ${pkgdir}/usr/share/zoneinfo -p America/New_York }