1 # Contributor: Kessia 'even' Pinheiro <kessiapinheiro at gmail.com>
5 pkgdesc="a combination between a framework for creating two-dimensional grid assignments in Java and an integrated development environment suitable for novice programmers."
7 url="http://www.greenfoot.org"
11 source=("http://www.greenfoot.org/download/files/${pkgname}-installer-${pkgver}.jar"
13 md5sums=('b407049ca227be8a29919fd250a0f984'
14 'd53690b8eeb2adcbd2c97ac5ab58bc02')
20 bsdtar -xf ${pkgname}-dist.jar
22 install -m0644 -d ${pkgdir}/usr/share/${pkgname}/{lib,scenarios,tutorial}
23 cp -R ${srcdir}/{lib,scenarios,tutorial} ${pkgdir}/usr/share/$pkgname/
24 chmod 0755 ${pkgdir}/usr/share/${pkgname}/lib -R
26 install -m0644 -d ${pkgdir}/usr/share/licenses/${pkgname}
27 install -m0644 -D ${srcdir}/doc/NOTICE.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt
28 install -m0755 -D ${srcdir}/greenfoot.sh ${pkgdir}/usr/bin/greenfoot