1 # Contributor: linfocito <dududa@gmail.com>
5 pkgdesc="Creates a Rox AppDir wrapper from a .desktop file"
6 url="http://www.kerofin.demon.co.uk/rox/desktop2app.html"
8 depends=('rox-lib' 'rox')
14 source=(http://www.kerofin.demon.co.uk/rox/Desktop2App-$pkgver.tar.gz)
15 md5sums=(caa420c0933625a5f2c3a50b8a2d8f03)
18 cd $startdir/src/Desktop2App
20 mkdir -p $startdir/pkg/usr/share
21 mkdir -p $startdir/pkg/usr/bin
23 cp -R Desktop2App $startdir/pkg/usr/share
24 echo "#!/bin/sh" > $startdir/pkg/usr/bin/desktop2app
25 echo "exec /usr/share/Desktop2App/AppRun \"\$@\"" >> $startdir/pkg/usr/bin/desktop2app
26 chmod +x $startdir/pkg/usr/bin/desktop2app