summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2020-12-19 22:52:54 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2020-12-19 22:52:54 (EST)
commitc49abfe70b51c966ed59780ff6507a862f20f24a (patch)
tree2272909ea27977b4f62a2046ec0b930367d5e9be
parentb64115abad663c3ff8e722c8d0d1b50f2525a1a1 (diff)
source.mk: Use lzip and recompress with bzip2
-rw-r--r--control2
-rw-r--r--source.mk4
2 files changed, 3 insertions, 3 deletions
diff --git a/control b/control
index 775c2ea..29bc2a8 100644
--- a/control
+++ b/control
@@ -1,3 +1,3 @@
Maintainer: Patrick McDermott <patrick.mcdermott@libiquity.com>
-Build-Depends: gpg, dirmngr, opkbuild (>= 4.0.1), opkhelper-3.0 (>= 3.1.2)
+Build-Depends: gpg, dirmngr, lzip, opkbuild (>= 4.0.1), opkhelper-3.0 (>= 3.1.2)
Homepage: https://www.iana.org/time-zones
diff --git a/source.mk b/source.mk
index 4e32c18..9fdd010 100644
--- a/source.mk
+++ b/source.mk
@@ -3,7 +3,7 @@
upstream_archive = $(OPK_SOURCE)-$(OPK_SOURCE_VERSION_UPSTREAM).tar.lz
upstream_url_base = http://data.iana.org/time-zones/releases
upstream_url = $(upstream_url_base)/$(upstream_archive)
-source_archive = ../$(OPK_SOURCE)-$(OPK_SOURCE_VERSION_UPSTREAM).orig.tar.lz
+source_archive = ../$(OPK_SOURCE)-$(OPK_SOURCE_VERSION_UPSTREAM).orig.tar.bz2
gpg = GNUPGHOME=gnupghome/ gpg --no-default-keyring --keyring ../keyring.gpg
keys = \
@@ -21,6 +21,6 @@ $(source_archive):
exit 1; \
fi
rm -Rf gnupghome/
- mv '$(upstream_archive)' '$(source_archive)'
+ lzip -cd '$(upstream_archive)' | bzip2 1>'$(source_archive)'
source: $(source_archive)