init
This commit is contained in:
commit
4bd060c44d
|
@ -0,0 +1,5 @@
|
||||||
|

|
||||||
|
|
||||||
|
# Scratch
|
||||||
|
|
||||||
|
[Scratch](https://scratch.mit.edu/) — крупнейшее в мире сообщество программирования для детей и язык программирования с простым визуальным интерфейсом, который позволяет молодым людям создавать цифровые истории, игры и анимацию.
|
|
@ -0,0 +1,11 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Version=1.0
|
||||||
|
Type=Application
|
||||||
|
Name=Scratch
|
||||||
|
GenericName=Create and share your own interactive stories, games, music and art
|
||||||
|
Comment=Create and share your own interactive stories, games, music and art
|
||||||
|
Exec=/opt/scratch/scratch-desktop
|
||||||
|
Icon=scratch-desktop
|
||||||
|
Terminal=false
|
||||||
|
StartupNotify=true
|
||||||
|
Categories=Education;
|
Binary file not shown.
After Width: | Height: | Size: 30 KiB |
|
@ -0,0 +1,25 @@
|
||||||
|
name : scratch
|
||||||
|
version : 3.29.1
|
||||||
|
release : 1
|
||||||
|
source :
|
||||||
|
# - https://downloads.scratch.mit.edu/desktop/Scratch%20Setup.exe : dfca2f1a842aea69a2b0a22ca66fa7852f86259e3da4f576f8ae7fa16f1e9134
|
||||||
|
- https://ftp.zhirov.kz/trash/scratch_3.29.1.exe : dfca2f1a842aea69a2b0a22ca66fa7852f86259e3da4f576f8ae7fa16f1e9134
|
||||||
|
homepage : https://scratch.mit.edu/
|
||||||
|
license : AGPL-3.0
|
||||||
|
component : programming
|
||||||
|
summary : Scratch is the world's largest coding community for children and a coding language with a simple visual interface that allows young people to create digital stories, games, and animations.
|
||||||
|
description: |
|
||||||
|
Scratch is the world's largest coding community for children and a coding language with a simple visual interface that allows young people to create digital stories, games, and animations.
|
||||||
|
builddeps :
|
||||||
|
- nodejs
|
||||||
|
build : |
|
||||||
|
npm install electron asar --save-dev
|
||||||
|
install : |
|
||||||
|
mkdir -p $installdir/opt/scratch/resources/app
|
||||||
|
cp -r $workdir/node_modules/electron/dist/* $installdir/opt/scratch/
|
||||||
|
rm $installdir/opt/scratch/resources/default_app.asar
|
||||||
|
cp -r $workdir/resources/static $installdir/opt/scratch/resources
|
||||||
|
$workdir/node_modules/.bin/asar extract $workdir/resources/app.asar $installdir/opt/scratch/resources/app
|
||||||
|
ln -sfr $installdir/opt/scratch/electron $installdir/opt/scratch/scratch-desktop
|
||||||
|
install -Dm644 $pkgfiles/scratch-desktop.desktop "$installdir/usr/share/applications/scratch-desktop.desktop"
|
||||||
|
install -Dm644 $pkgfiles/scratch-desktop.png "$installdir/opt/scratch/scratch-desktop.png"
|
Loading…
Reference in New Issue