cookutils rev 1056

Ability to change $VERSION in the receipt.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu May 17 23:42:39 2018 +0300 (2018-05-17)
parents 11aa72445789
children 371cc12e0b08
files cook modules/deps modules/mk_pkg_receipt
line diff
     1.1 --- a/cook	Tue May 08 13:52:06 2018 +0300
     1.2 +++ b/cook	Thu May 17 23:42:39 2018 +0300
     1.3 @@ -1024,7 +1024,7 @@
     1.4  
     1.5  	cd $taz
     1.6  	action 'Copying "%s"...' 'receipt'
     1.7 -	export PACKAGE DEPENDS PROVIDE SUGGESTED TAZPANEL_DAEMON TAGS CAT CONFIG_FILES
     1.8 +	export PACKAGE VERSION DEPENDS PROVIDE SUGGESTED TAZPANEL_DAEMON TAGS CAT CONFIG_FILES
     1.9  	@@PREFIX@@/libexec/cookutils/mk_pkg_receipt "$(realpath ../receipt)" > $pack/receipt
    1.10  	chown 0.0 $pack/receipt; status
    1.11  
     2.1 --- a/modules/deps	Tue May 08 13:52:06 2018 +0300
     2.2 +++ b/modules/deps	Thu May 17 23:42:39 2018 +0300
     2.3 @@ -177,6 +177,7 @@
     2.4  				s("pulseaudio", "apulse");
     2.5  				s("cairo-dev", "cairo-gl-dev");
     2.6  				s("freetype-dev", "freetype-infinality-dev");
     2.7 +				s("nspr", "webian-shell");
     2.8  
     2.9  				# if called with "--incl": show all deps including glibc-base,
    2.10  				# gcc-lib-base, glibc-dev and gcc; otherwise hide them
     3.1 --- a/modules/mk_pkg_receipt	Tue May 08 13:52:06 2018 +0300
     3.2 +++ b/modules/mk_pkg_receipt	Thu May 17 23:42:39 2018 +0300
     3.3 @@ -38,7 +38,7 @@
     3.4  cat > $save <<EOT
     3.5  PACKAGE="$PACKAGE"; DEPENDS="$(echo $DEPENDS)"; PROVIDE="$(echo $PROVIDE)"
     3.6  SUGGESTED="$(echo $SUGGESTED)"; TAZPANEL_DAEMON="$TAZPANEL_DAEMON"
     3.7 -TAGS="$(echo $TAGS)"
     3.8 +TAGS="$(echo $TAGS)"; VERSION="$VERSION"
     3.9  EOT
    3.10  unset_receipt
    3.11  . "$orig_receipt"