1 # Maintainer: Anatoly Kamchatnov <akamch at gmail dot com>
5 pkgdesc="Build Your Own Blocks is a visual programming language based on Scratch."
7 url="http://byob.berkeley.edu/"
11 source=('http://byob.berkeley.edu/BYOB_3_1_1_110519_w_changes.zip'
12 'http://byob.berkeley.edu/byoblib.tgz'
13 'http://byob.berkeley.edu/byob.debian')
14 md5sums=('5e357f439b03f39beab3a58f4e062ca5'
15 '9d990558fe880d28960e7f631dd7d90a'
16 'da41804df6b71cecabed59180847b521')
20 mkdir -p usr/{lib,share}/scratch
22 unzip -q BYOB_3_1_1_110519_w_changes.zip -d usr/lib/scratch
24 bsdtar xzf byoblib.tgz -C usr/share/scratch
25 rm -rf usr/share/scratch/{Help,locale,README-SCRATCH.txt}
27 mkdir -p usr/share/licenses/byob
28 mv usr/share/scratch/license.txt usr/share/licenses/byob
30 install -D byob.debian usr/bin/byob
31 sed -i 's/-vm-sound-pulse/-vm-sound-ALSA/' usr/bin/byob