1 # Contributor: Eric Forgeot < http://ifiction.free.fr >
5 pkgdesc="WxWidgets Inform 6 Development Environment"
7 url="http://wide.berlios.de/"
9 depends=('glibc' 'wxgtk')
18 source=(http://download.berlios.de/wide/${pkgname}_${pkgver}_sources.zip)
20 md5sums=(25286f7f23fe5a3f6414bbe5baafc729)
25 # ./configure --prefix=/usr
27 # make DESTDIR=$startdir/pkg install || return 1
28 mkdir -p $startdir/pkg/usr/bin/
29 mkdir -p $startdir/pkg/usr/share/$pkgname/
30 cp $startdir/src/wide $startdir/pkg/usr/share/$pkgname/
31 cp $startdir/src/wide.ini $startdir/pkg/usr/share/$pkgname/
32 chmod 777 $startdir/pkg/usr/share/$pkgname/wide.ini
33 chmod 777 $startdir/pkg/usr/share/$pkgname/
34 cp $startdir/src/readme.txt $startdir/pkg/usr/share/$pkgname/
35 echo "cd /usr/share/wide/ && ./wide" > $startdir/pkg/usr/bin/wide.sh
36 chmod +x $startdir/pkg/usr/bin/wide.sh
37 echo -e "\n\n<!> <!> \nBeware the /usr/share/wide will be read-write for everyone because of the way the software is using its configuration file\n\n"