wok-next diff scratch/receipt @ rev 21395

updated owfs (3.2p1 -> 3.2p3)
author Hans-G?nter Theisgen
date Fri Apr 17 17:54:29 2020 +0100 (2020-04-17)
parents 7506b35e1c6f
children
line diff
     1.1 --- a/scratch/receipt	Mon Aug 13 00:47:17 2018 +0300
     1.2 +++ b/scratch/receipt	Fri Apr 17 17:54:29 2020 +0100
     1.3 @@ -4,7 +4,7 @@
     1.4  VERSION="1.4.0.7"
     1.5  CATEGORY="network"
     1.6  SHORT_DESC="Create and share interactive stories, games, music and art"
     1.7 -MAINTAINER="pankso@slitaz.org"
     1.8 +MAINTAINER="devel@slitaz.org"
     1.9  LICENSE="GPL2"
    1.10  WEB_SITE="https://scratch.mit.edu/"
    1.11  
    1.12 @@ -12,7 +12,7 @@
    1.13  WGET_URL="http://download.scratch.mit.edu/$TARBALL"
    1.14  
    1.15  BUILD_DEPENDS="pango-dev shared-mime-info-dev"
    1.16 -SPLIT="scratch-help"
    1.17 +SPLIT="$PACKAGE-help"
    1.18  
    1.19  compile_rules() {
    1.20  	# Fix cross compilation: gcc is hardcoded
    1.21 @@ -20,25 +20,25 @@
    1.22  	sed -i 's/-vm-sound-pulse/-vm-sound-ALSA/' src/scratch &&
    1.23  	make build &&
    1.24  	# Install
    1.25 -	mkdir -p ${DESTDIR}/usr/bin \
    1.26 -		${DESTDIR}/usr/lib/scratch \
    1.27 -		${DESTDIR}/usr/share/scratch \
    1.28 -		${DESTDIR}/usr/share/icons/hicolor \
    1.29 -		${DESTDIR}/usr/share/applications \
    1.30 -		${DESTDIR}/usr/share/mime/packages \
    1.31 -		${DESTDIR}/usr/share/icons/hicolor/48x48/apps \
    1.32 -		${DESTDIR}/usr/share/icons/hicolor/48x48/mimetypes &&
    1.33 -	install -m 755 src/scratch ${DESTDIR}/usr/bin/scratch &&
    1.34 -	install -m 644 Scratch.image ${DESTDIR}/usr/lib/scratch/Scratch.image &&
    1.35 -	install -m 644 Scratch.ini ${DESTDIR}/usr/lib/scratch/Scratch.ini &&
    1.36 -	cp src/scratch.desktop ${DESTDIR}/usr/share/applications &&
    1.37 -	cp src/scratch.xml ${DESTDIR}/usr/share/mime/packages &&
    1.38 -	cp -a Plugins ${DESTDIR}/usr/lib/scratch &&
    1.39 -	cp -a locale Media Projects ${DESTDIR}/usr/share/scratch &&
    1.40 +	mkdir -p $install/usr/bin \
    1.41 +		$install/usr/lib/scratch \
    1.42 +		$install/usr/share/scratch \
    1.43 +		$install/usr/share/icons/hicolor \
    1.44 +		$install/usr/share/applications \
    1.45 +		$install/usr/share/mime/packages \
    1.46 +		$install/usr/share/icons/hicolor/48x48/apps \
    1.47 +		$install/usr/share/icons/hicolor/48x48/mimetypes &&
    1.48 +	install -m 755 src/scratch $install/usr/bin/scratch &&
    1.49 +	install -m 644 Scratch.image $install/usr/lib/scratch/Scratch.image &&
    1.50 +	install -m 644 Scratch.ini $install/usr/lib/scratch/Scratch.ini &&
    1.51 +	cp src/scratch.desktop $install/usr/share/applications &&
    1.52 +	cp src/scratch.xml $install/usr/share/mime/packages &&
    1.53 +	cp -a Plugins $install/usr/lib/scratch &&
    1.54 +	cp -a locale Media Projects $install/usr/share/scratch &&
    1.55  	cp src/icons/48x48/scratch.png \
    1.56 -		${DESTDIR}/usr/share/icons/hicolor/48x48/apps &&
    1.57 +		$install/usr/share/icons/hicolor/48x48/apps &&
    1.58  	cp src/icons/48x48/gnome-mime-*.png \
    1.59 -		${DESTDIR}/usr/share/icons/hicolor/48x48/mimetypes
    1.60 +		$install/usr/share/icons/hicolor/48x48/mimetypes
    1.61  }
    1.62  
    1.63  genpkg_rules() {
    1.64 @@ -53,7 +53,7 @@
    1.65  			CAT="development|help"
    1.66  			DEPENDS="scratch"
    1.67  			mkdir -p $fs/usr/share/scratch
    1.68 -			cp -rp ${src}/Help $fs/usr/share/scratch
    1.69 +			cp -rp $src/Help $fs/usr/share/scratch
    1.70  			;;
    1.71  	esac
    1.72  }