aboutsummaryrefslogtreecommitdiff
path: root/development/Editra/Editra.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-01-30 20:27:49 +0700
committerRobby Workman <rworkman@slackbuilds.org>2014-02-01 00:40:32 -0600
commit8c0775d3dc47f463dffde0e4f1914cad83fd1aa6 (patch)
treefed14eed9496be849263b0a4be0d4ec3b0a2f6e0 /development/Editra/Editra.SlackBuild
parent255e4ac9b33b6473eca489bb031936f7dd8977ce (diff)
development/Editra: Updated for version 0.7.20.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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}