[arch-commits] Commit in tzdata/repos (3 files)

Jelle van der Waa jelle at archlinux.org
Tue Sep 24 11:38:56 UTC 2019


    Date: Tuesday, September 24, 2019 @ 11:38:55
  Author: jelle
Revision: 363338

db-move: moved tzdata from [testing] to [core] (x86_64)

Added:
  tzdata/repos/core-x86_64/PKGBUILD
    (from rev 363337, tzdata/repos/testing-x86_64/PKGBUILD)
Deleted:
  tzdata/repos/core-x86_64/PKGBUILD
  tzdata/repos/testing-x86_64/

----------------------+
 /PKGBUILD            |   53 +++++++++++++++++++++++++++++++++++++++++++++++++
 core-x86_64/PKGBUILD |   50 ----------------------------------------------
 2 files changed, 53 insertions(+), 50 deletions(-)

Deleted: core-x86_64/PKGBUILD
===================================================================
--- core-x86_64/PKGBUILD	2019-09-24 10:47:35 UTC (rev 363337)
+++ core-x86_64/PKGBUILD	2019-09-24 11:38:55 UTC (rev 363338)
@@ -1,50 +0,0 @@
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
-
-pkgname=tzdata
-pkgver=2019c
-_tzcode=2019c
-_tzdata=2019c
-pkgrel=1
-pkgdesc="Sources for time zone and daylight saving time data"
-arch=('x86_64')
-url="https://www.iana.org/time-zones"
-license=('custom: public domain')
-options=('!emptydirs')
-source=(https://www.iana.org/time-zones/repository/releases/tzcode${_tzcode}.tar.gz{,.asc}
-        https://www.iana.org/time-zones/repository/releases/${pkgname}${_tzdata}.tar.gz{,.asc})
-# new signing key is not available via public keyservers
-sha512sums=('61ef36385f501c338c263081486de0d1fccd454b86f8777b0dbad4ea3f21bbde059d0a91c23e207b167ed013127d3db8b7528f0188814a8b44d1f946b19d9b8b'
-            'SKIP'
-            '2921cbb2fd44a6b8f7f2ed42c13fbae28195aa5c2eeefa70396bc97cdbaad679c6cc3c143da82cca5b0279065c02389e9af536904288c12886bf345baa8c6565'
-            'SKIP')
-validpgpkeys=('7E3792A9D8ACF7D633BC1588ED97E90E62AA7E34') # Paul Eggert <eggert at cs.ucla.edu>
-
-timezones=('africa' 'antarctica' 'asia' 'australasia'
-           'europe' 'northamerica' 'southamerica'
-           'pacificnew' 'etcetera' 'backward'
-           'systemv' 'factory')
-
-prepare() {
-  sed -i "s:sbin:bin:g" Makefile
-}
-
-build() {
-  make
-}
-
-package() {
-  cd ${srcdir}
-  # install tzcode stuff
-  make DESTDIR="${pkgdir}" install
-
-  # install tzdata stuff
-  ./zic -d ${pkgdir}/usr/share/zoneinfo ${timezones[@]}
-  ./zic -d ${pkgdir}/usr/share/zoneinfo/posix ${timezones[@]}
-  ./zic -d ${pkgdir}/usr/share/zoneinfo/right -L leapseconds ${timezones[@]}
-  
-  ./zic -d ${pkgdir}/usr/share/zoneinfo -p America/New_York
-  install -m444 -t ${pkgdir}/usr/share/zoneinfo iso3166.tab zone1970.tab zone.tab # zone.tab is depricated and will go soon
-  
-  # cleanup
-  rm "${pkgdir}/etc/localtime"
-}

Copied: tzdata/repos/core-x86_64/PKGBUILD (from rev 363337, tzdata/repos/testing-x86_64/PKGBUILD)
===================================================================
--- core-x86_64/PKGBUILD	                        (rev 0)
+++ core-x86_64/PKGBUILD	2019-09-24 11:38:55 UTC (rev 363338)
@@ -0,0 +1,53 @@
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=tzdata
+pkgver=2019c
+_tzcode=2019c
+_tzdata=2019c
+pkgrel=2
+pkgdesc="Sources for time zone and daylight saving time data"
+arch=('x86_64')
+url="https://www.iana.org/time-zones"
+license=('custom: public domain')
+options=('!emptydirs')
+source=(https://www.iana.org/time-zones/repository/releases/tzcode${_tzcode}.tar.gz{,.asc}
+        https://www.iana.org/time-zones/repository/releases/${pkgname}${_tzdata}.tar.gz{,.asc})
+# new signing key is not available via public keyservers
+sha512sums=('61ef36385f501c338c263081486de0d1fccd454b86f8777b0dbad4ea3f21bbde059d0a91c23e207b167ed013127d3db8b7528f0188814a8b44d1f946b19d9b8b'
+            'SKIP'
+            '2921cbb2fd44a6b8f7f2ed42c13fbae28195aa5c2eeefa70396bc97cdbaad679c6cc3c143da82cca5b0279065c02389e9af536904288c12886bf345baa8c6565'
+            'SKIP')
+validpgpkeys=('7E3792A9D8ACF7D633BC1588ED97E90E62AA7E34') # Paul Eggert <eggert at cs.ucla.edu>
+
+timezones=('africa' 'antarctica' 'asia' 'australasia'
+           'europe' 'northamerica' 'southamerica'
+           'pacificnew' 'etcetera' 'backward'
+           'systemv' 'factory')
+
+prepare() {
+  sed -i "s:sbin:bin:g" Makefile
+}
+
+build() {
+  make LFLAGS=${LDFLAGS}
+}
+
+package() {
+  cd ${srcdir}
+  # install tzcode stuff
+  make DESTDIR="${pkgdir}" install
+
+  # install tzdata stuff
+  ./zic -d ${pkgdir}/usr/share/zoneinfo ${timezones[@]}
+  ./zic -d ${pkgdir}/usr/share/zoneinfo/posix ${timezones[@]}
+  ./zic -d ${pkgdir}/usr/share/zoneinfo/right -L leapseconds ${timezones[@]}
+  
+  ./zic -d ${pkgdir}/usr/share/zoneinfo -p America/New_York
+  install -m444 -t ${pkgdir}/usr/share/zoneinfo iso3166.tab zone1970.tab zone.tab # zone.tab is depricated and will go soon
+  
+  # cleanup
+  rm "${pkgdir}/etc/localtime"
+
+  # install license
+  install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}


More information about the arch-commits mailing list