updated on Fri Jan 13 04:01:25 UTC 2012
[aur-mirror.git] / seaside / PKGBUILD
blob3a7823595dc5af673ad87fb88f30377f38f36cbe
1 # Contributor: Daniel Milde <daniel@milde.cz>
2 pkgname=seaside
3 pkgver=3.0.6
4 pkgrel=1
5 pkgdesc="Web application framework written in Smalltalk"
6 arch=(i686 x86_64)
7 url="http://seaside.st/"
8 license=('MIT')
10 source=(http://www.seaside.st/distributions/Seaside-${pkgver}-OneClick.zip run.sh seaside.desktop)
11 md5sums=('faae593f6034115f7a0aa1eff9696299'\
12                  'f202757123b2e587d7f7efde8c2958b9'\
13                  'e33ed6f2119d9cd088803cf8b8c3b997')
16 build() {
17         cd ${srcdir}/Seaside.app/
18         rm -fr ${srcdir}/Seaside.app/Contents/MacOS/
19         rm -fr ${srcdir}/Seaside.app/Contents/Windows/
20         
21         install -d --group=users ${pkgdir}/usr/share/seaside
22         install -d ${pkgdir}/usr/bin/
23         
24         cp -fr ${srcdir}/Seaside.app/* ${pkgdir}/usr/share/seaside
25         
26         chgrp -R users ${pkgdir}/usr/share/seaside
27         chmod -R 775 ${pkgdir}/usr/share/seaside
28         
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
33         
34         install -d ${pkgdir}/usr/share/pixmaps
35         install ${srcdir}/Seaside.app/Contents/Resources/Squeak.png ${pkgdir}/usr/share/pixmaps/${pkgname}.png