From 6d64753acd32b9a0d2355bd8e1719bb6f3116307 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 06 Oct 2013 17:34:55 -0400 Subject: tzdata-common: Provide posixrules and *.tab. --- diff --git a/build b/build index e708940..34aa5e1 100755 --- a/build +++ b/build @@ -27,12 +27,8 @@ build: touch $@ install: build + cp src/iso3166.tab src/zone.tab dest/usr/share/zoneinfo for t in $(tables); do \ - mkdir -p tzdata-$${t}.data/usr/share/zoneinfo; \ - cp -p dest/usr/share/zoneinfo/posixrules \ - tzdata-$${t}.data/usr/share/zoneinfo/posixrules; \ - cp src/iso3166.tab src/zone.tab \ - tzdata-$${t}.data/usr/share/zoneinfo; \ exec 3>../tzdata-$${t}.pkg/files; \ grep '^Zone' src/$${t} | while read type zone etc; do \ printf '/usr/share/zoneinfo/%s\n' "$${zone}" >&3; \ @@ -42,7 +38,6 @@ install: build done; \ exec 3>&-; \ done - rm -f dest/usr/share/zoneinfo/posixrules oh-fixperms oh-installfiles for t in $(tables); do \ diff --git a/tzdata-common.pkg/control b/tzdata-common.pkg/control index 7f4f7ff..244f39c 100644 --- a/tzdata-common.pkg/control +++ b/tzdata-common.pkg/control @@ -3,5 +3,4 @@ Platform: all Description: Time zone and daylight saving time data - common files ${Common-Description} . - This package provides the source package documentation for the time zone and - daylight saving time data packages. + This package provides common time zone tables and links. diff --git a/tzdata-common.pkg/files b/tzdata-common.pkg/files new file mode 100644 index 0000000..bd0263d --- /dev/null +++ b/tzdata-common.pkg/files @@ -0,0 +1,3 @@ +/usr/share/zoneinfo/posixrules +/usr/share/zoneinfo/iso3166.tab +/usr/share/zoneinfo/zone.tab -- cgit v0.9.1