aboutsummaryrefslogtreecommitdiff
path: root/development/Editra/Editra.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/Editra/Editra.SlackBuild')
-rw-r--r--development/Editra/Editra.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/development/Editra/Editra.SlackBuild b/development/Editra/Editra.SlackBuild
index fc58c750bc0ee..d12e1eafd4e76 100644
--- a/development/Editra/Editra.SlackBuild
+++ b/development/Editra/Editra.SlackBuild
@@ -74,17 +74,22 @@ python setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/share/applications
+install -D -m644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop
+
+mkdir -p $PKG/usr/share/pixmaps/
+install -D -m644 pixmaps/editra.png $PKG/usr/share/pixmaps/$PRGNAM.svg
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS CHANGELOG COPYING FAQ INSTALL NEWS PKG-INFO README THANKS TODO \
docs/* \
$PKG/usr/doc/$PRGNAM-$VERSION
-
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}