diff options
Diffstat (limited to 'development/Editra')
-rw-r--r-- | development/Editra/Editra.SlackBuild | 9 | ||||
-rw-r--r-- | development/Editra/Editra.desktop | 10 | ||||
-rw-r--r-- | development/Editra/Editra.info | 2 | ||||
-rw-r--r-- | development/Editra/doinst.sh | 3 |
4 files changed, 21 insertions, 3 deletions
diff --git a/development/Editra/Editra.SlackBuild b/development/Editra/Editra.SlackBuild index fc58c750bc..d12e1eafd4 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} diff --git a/development/Editra/Editra.desktop b/development/Editra/Editra.desktop new file mode 100644 index 0000000000..27a695cb04 --- /dev/null +++ b/development/Editra/Editra.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=A Developer's Text Editor +Name[he]= Editra +Comment=A Developer's Text Editor +Exec=editra +Icon=Editra +Terminal=false +Type=Application +Categories=Development;TextEditor +GenericName=Editor diff --git a/development/Editra/Editra.info b/development/Editra/Editra.info index 6f37d7301e..59eaeff604 100644 --- a/development/Editra/Editra.info +++ b/development/Editra/Editra.info @@ -1,5 +1,5 @@ PRGNAM="Editra" -VERSION="0.7.0" +VERSION="0.7.20" HOMEPAGE="http://www.editra.org/" DOWNLOAD="http://www.editra.org/uploads/src/Editra-0.7.20.tar.gz" MD5SUM="a52c6b3d703f98e0390aa7b44f991616" diff --git a/development/Editra/doinst.sh b/development/Editra/doinst.sh new file mode 100644 index 0000000000..473345de20 --- /dev/null +++ b/development/Editra/doinst.sh @@ -0,0 +1,3 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi |