development/Editra: Script cleanup.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dimitris Zlatanidis 2014-05-07 18:04:51 +07:00 committed by Willy Sudiarto Raharjo
parent 021e3a0dd8
commit 35e38a5fe0
2 changed files with 4 additions and 6 deletions

View file

@ -24,7 +24,7 @@
PRGNAM=Editra
VERSION=${VERSION:-0.7.20}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -78,12 +78,10 @@ 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
install -D -m644 pixmaps/${PRGNAM,,}.png $PKG/usr/share/pixmaps/${PRGNAM,,}.png
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS CHANGELOG COPYING FAQ INSTALL NEWS PKG-INFO README THANKS TODO \
docs/* \
cp -a AUTHORS CHANGELOG COPYING FAQ NEWS README THANKS TODO docs/* \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -3,7 +3,7 @@ Name=A Developer's Text Editor
Name[he]= Editra
Comment=A Developer's Text Editor
Exec=editra
Icon=Editra
Icon=editra
Terminal=false
Type=Application
Categories=Development;TextEditor