summaryrefslogtreecommitdiff
path: root/development/Editra
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-05-07 18:04:51 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-12 07:35:49 +0700
commit35e38a5fe068b20022bb16916de6b693f7bf5eb0 (patch)
tree8dd02dc30889b797a7e2f3c2745b7d992a89437d /development/Editra
parent021e3a0dd87a403949d99faa505a770ab56d3fac (diff)
downloadslackbuilds-35e38a5fe068b20022bb16916de6b693f7bf5eb0.tar.gz
development/Editra: Script cleanup.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/Editra')
-rw-r--r--development/Editra/Editra.SlackBuild8
-rw-r--r--development/Editra/Editra.desktop2
2 files changed, 4 insertions, 6 deletions
diff --git a/development/Editra/Editra.SlackBuild b/development/Editra/Editra.SlackBuild
index d12e1eafd4..8ebb5274fb 100644
--- a/development/Editra/Editra.SlackBuild
+++ b/development/Editra/Editra.SlackBuild
@@ -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
diff --git a/development/Editra/Editra.desktop b/development/Editra/Editra.desktop
index 27a695cb04..d7469df2d8 100644
--- a/development/Editra/Editra.desktop
+++ b/development/Editra/Editra.desktop
@@ -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