wok rev 21903

updated shaarli again (0.10.3 -> 0.11.1)
author Hans-G?nter Theisgen
date Fri Oct 04 13:29:43 2019 +0100 (2019-10-04)
parents 02eeeabd9a8c
children 91ce53ebeb8f
files shaarli/receipt
line diff
     1.1 --- a/shaarli/receipt	Fri Oct 04 13:14:23 2019 +0100
     1.2 +++ b/shaarli/receipt	Fri Oct 04 13:29:43 2019 +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