wok diff diffpdf/receipt @ rev 25490

Up foomatic-db-nonfree (20221115)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 17 11:49:10 2022 +0000 (18 months ago)
parents 95f66fb4280e
children
line diff
     1.1 --- a/diffpdf/receipt	Wed Sep 01 14:04:21 2021 +0000
     1.2 +++ b/diffpdf/receipt	Thu Nov 17 11:49:10 2022 +0000
     1.3 @@ -1,6 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="diffpdf"
     1.7 +HASH="b08ffc8a88426a1db4ff1d972011797732d149bc"
     1.8  VERSION="2.1.3"
     1.9  CATEGORY="utilities"
    1.10  SHORT_DESC="PDF files comparator."
    1.11 @@ -9,14 +10,15 @@
    1.12  WEB_SITE="https://gitlab.com/eang/diffpdf"
    1.13  
    1.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 -WGET_URL="http://www.qtrac.eu/$TARBALL"
    1.16 +WGET_URL="$WEB_SITE/-/archive/$HASH/diffpdf-$HASH.tar.gz"
    1.17  
    1.18  DEPENDS="poppler-qt4" 
    1.19  BUILD_DEPENDS="poppler-qt4-dev qmake Qt4-dev"
    1.20  
    1.21 +# What is the latest version available today?
    1.22  current_version()
    1.23  {
    1.24 -	wget -O - https://gitlab.com/eang/diffpdf/-/tags 2>/dev/null | \
    1.25 +	wget -O - $WEB_SITE/-/tags 2>/dev/null | \
    1.26  	sed '/diffpdf-v/!d;s|.*/diffpdf-v\([\.0-9]*\)\..*|\1|;q'
    1.27  }
    1.28