wok diff shaarli/receipt @ rev 22578

updated cairo-dock packages (2.4.0~2 -> 3.4.1)
author Hans-G?nter Theisgen
date Tue Jan 07 07:24:36 2020 +0100 (2020-01-07)
parents 02eeeabd9a8c
children 5ea0ce1cecc0
line diff
     1.1 --- a/shaarli/receipt	Fri Oct 04 13:14:23 2019 +0100
     1.2 +++ b/shaarli/receipt	Tue Jan 07 07:24:36 2020 +0100
     1.3 @@ -12,7 +12,7 @@
     1.4  WGET_URL="https://github.com/shaarli/Shaarli/archive/v$VERSION.tar.gz"
     1.5  
     1.6  DEPENDS="php"
     1.7 -BUILD_DEPENDS="tar"
     1.8 +BUILD_DEPENDS=""
     1.9  
    1.10  HOST_ARCH="any"
    1.11  
    1.12 @@ -20,8 +20,7 @@
    1.13  genpkg_rules()                                      
    1.14  {
    1.15  	mkdir -p $fs/var/www/$PACKAGE
    1.16 -	cd	$fs/var/www/$PACKAGE
    1.17 -	/bin/tar --strip-components=1 -xzf $src/$PACKAGE-$VERSION.gz
    1.18 +	cp -a $src/*	$fs/var/www/$PACKAGE
    1.19  	sed -i "s|mt_rand())|mt_rand().'$WGET_URL$$')|" $fs/var/www/$PACKAGE/index.php
    1.20  }
    1.21