# Desktop entry (.desktop).
if [ -d "$_pkg/usr/share/applications" ]; then
cp -a $_pkg/usr/share/applications $fs/usr/share
fi
# Homemade desktop file(s) can be in stuff.
if [ -d "stuff/applications" ]; then
mkdir -p $fs/usr/share
cp -a stuff/applications $fs/usr/share
fi
if [ -f "stuff/$PACKAGE.desktop" ]; then
mkdir -p $fs/usr/share/applications
cp -a stuff/$PACKAGE.desktop $fs/usr/share/applications
fi
cd $fs/usr/share/pixmaps
rm ../epdfview/pixmaps/icon_epdfview-24.png
rm ../epdfview/pixmaps/icon_epdfview-48.png
ln -s ../epdfview/pixmaps/icon_epdfview-32.png epdfview.png
It looks like you're new here. If you want to get involved, click one of these buttons!