abinfo "Creating pre-defined timezone directories ..."
ZONEINFO="$PKGDIR/usr/share/zoneinfo"
mkdir -pv "$ZONEINFO"/{posix,right}

for tz in etcetera southamerica northamerica europe africa antarctica  \
          asia australasia backward; do
    abinfo "Building and installing timezone $tz ..."
    zic -b fat -L /dev/null -d "$ZONEINFO" "$SRCDIR/$tz"
    zic -b fat -L /dev/null -d "$ZONEINFO"/posix "$SRCDIR/$tz"
    zic -b fat -L leapseconds -d "$ZONEINFO"/right "$SRCDIR/$tz"
done

abinfo "Installing extra zoneinfo files ..."
cp -v "$SRCDIR"/{zone.tab,zone1970.tab,iso3166.tab} \
    "$ZONEINFO"
zic -b fat -d "$ZONEINFO" -p America/New_York

unset ZONEINFO
