wok diff sweethome3d/receipt @ rev 25556

created recipes for nted and nted-lang
author Hans-G?nter Theisgen
date Sat Apr 22 14:54:15 2023 +0100 (14 months ago)
parents e919c5a2742d
children 29df00e1e19d
line diff
     1.1 --- a/sweethome3d/receipt	Wed Feb 02 18:01:43 2022 +0000
     1.2 +++ b/sweethome3d/receipt	Sat Apr 22 14:54:15 2023 +0100
     1.3 @@ -1,12 +1,12 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="sweethome3d"
     1.7 -VERSION="6.3"
     1.8 +VERSION="7.0"
     1.9  CATEGORY="misc"
    1.10  SHORT_DESC="A free interior design application."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 -WEB_SITE="http://www.sweethome3d.com/"
    1.14 +WEB_SITE="https://www.sweethome3d.com/"
    1.15  
    1.16  SOURCE="SweetHome3D"
    1.17  TARBALL="$SOURCE-$VERSION-linux-x86.tgz"
    1.18 @@ -23,19 +23,13 @@
    1.19  	sed '/scope="row/!d;/linux-x86/!d;s|.*3D-||;s|-linux.*||;q'
    1.20  }
    1.21  
    1.22 -# Rules to configure and make the package.
    1.23 -compile_rules()
    1.24 -{
    1.25 -	cd $src
    1.26 -}
    1.27 -
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.   
    1.29  genpkg_rules()                                      
    1.30  {
    1.31  	mkdir -p $fs/usr/share/applications
    1.32  	mkdir -p $fs/usr/bin
    1.33  
    1.34 -	cp -a $src $fs/usr/share/$PACKAGE
    1.35 +	cp -a $src	$fs/usr/share/$PACKAGE
    1.36  
    1.37  	cat > $fs/usr/share/applications/$PACKAGE.desktop <<EOT
    1.38  [Desktop Entry]
    1.39 @@ -47,7 +41,7 @@
    1.40  Exec=$PACKAGE
    1.41  Icon=gohome.png
    1.42  Terminal=false
    1.43 -Categories=Office;
    1.44 +Categories=Graphics;
    1.45  EOT
    1.46  
    1.47  	cat > $fs/usr/bin/$PACKAGE <<EOT
    1.48 @@ -55,5 +49,5 @@
    1.49  
    1.50  exec /usr/share/$PACKAGE/SweetHome3D
    1.51  EOT
    1.52 -	chmod +x $fs/usr/bin/$PACKAGE
    1.53 +	chmod +x	$fs/usr/bin/$PACKAGE
    1.54  }