From fb5a7c37dd700a15e083891f066ea870f85cbfd5 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 27 Jun 2019 18:28:32 -0400 Subject: source.mk: Update upstream URL, use xz --- diff --git a/control b/control index 0ae7a7c..f8c357d 100644 --- a/control +++ b/control @@ -1,2 +1,3 @@ Maintainer: Patrick McDermott +Build-Depends: opkbuild (>= 4.0.0) Homepage: https://mplus-fonts.osdn.jp/ diff --git a/source.mk b/source.mk index 624b6d9..19ffaa0 100644 --- a/source.mk +++ b/source.mk @@ -1,13 +1,6 @@ upstream_archive = mplus-TESTFLIGHT-$(OPK_SOURCE_VERSION_UPSTREAM).tar.xz -upstream_url = http://dl.sourceforge.jp/mplus-fonts/6650/$(upstream_archive) -source_archive = ../$(OPK_SOURCE)-$(OPK_SOURCE_VERSION_UPSTREAM).orig.tar.bz2 +upstream_url = http://dl.sourceforge.jp/mplus-fonts/62344/$(upstream_archive) +source_archive = ../$(OPK_SOURCE)-$(OPK_SOURCE_VERSION_UPSTREAM).orig.tar.xz -$(source_archive): - wget -c '$(upstream_url)' - tar -xJf '$(upstream_archive)' - rm -f '$(upstream_archive)' - tar -cjf '$(source_archive)' \ - 'mplus-TESTFLIGHT-$(OPK_SOURCE_VERSION_UPSTREAM)' - mv 'mplus-TESTFLIGHT-$(OPK_SOURCE_VERSION_UPSTREAM)' 'src' - -source: $(source_archive) +source: + wget -O '$(source_archive)' '$(upstream_url)' -- cgit v0.9.1