wok diff shaarli/receipt @ rev 23774

add firmware-amdgpu (20200515)
author Richard Dunbar <mojo@slitaz.org>
date Fri May 15 23:04:30 2020 -0400 (2020-05-15)
parents 02eeeabd9a8c
children 5ea0ce1cecc0
line diff
     1.1 --- a/shaarli/receipt	Fri Oct 04 13:14:23 2019 +0100
     1.2 +++ b/shaarli/receipt	Fri May 15 23:04:30 2020 -0400
     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