1 # Contributor: Daniel Milde <daniel@milde.cz>
5 pkgdesc="Web application framework written in Smalltalk"
7 url="http://seaside.st/"
10 source=(http://www.seaside.st/distributions/Seaside-${pkgver}-OneClick.zip run.sh seaside.desktop)
11 md5sums=('faae593f6034115f7a0aa1eff9696299'\
12 'f202757123b2e587d7f7efde8c2958b9'\
13 'e33ed6f2119d9cd088803cf8b8c3b997')
17 cd ${srcdir}/Seaside.app/
18 rm -fr ${srcdir}/Seaside.app/Contents/MacOS/
19 rm -fr ${srcdir}/Seaside.app/Contents/Windows/
21 install -d --group=users ${pkgdir}/usr/share/seaside
22 install -d ${pkgdir}/usr/bin/
24 cp -fr ${srcdir}/Seaside.app/* ${pkgdir}/usr/share/seaside
26 chgrp -R users ${pkgdir}/usr/share/seaside
27 chmod -R 775 ${pkgdir}/usr/share/seaside
29 install -Dm755 ${srcdir}/run.sh ${pkgdir}/usr/bin/seaside
31 install -d ${pkgdir}/usr/share/applications
32 install -Dm644 ${srcdir}/../${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
34 install -d ${pkgdir}/usr/share/pixmaps
35 install ${srcdir}/Seaside.app/Contents/Resources/Squeak.png ${pkgdir}/usr/share/pixmaps/${pkgname}.png