From 0ca57db627c3f7a0676466fbe725ee75e2188820 Mon Sep 17 00:00:00 2001 From: rudson Date: Tue, 31 Oct 2006 17:57:07 +0000 Subject: atualizando grace git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@560 370017ae-e619-0410-ac65-c121f96126d4 --- grace/grace.SlackBuild | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'grace/grace.SlackBuild') diff --git a/grace/grace.SlackBuild b/grace/grace.SlackBuild index 949bccb7..7324afab 100755 --- a/grace/grace.SlackBuild +++ b/grace/grace.SlackBuild @@ -151,11 +151,31 @@ if [ $? -ne 0 ]; then exit $ERROR_INSTALL fi -# --------------- Cria links ---------------------- +# ------------ Cria links e instala manuais ------------- +# Links mkdir -p $PKG/usr/bin for i in convcal fdf2fit grconvert xmgrace; do ln -s $PREFIX/$PACKAGE/bin/$i /usr/bin/$i done +# Manuais +mkdir -p $PKG/man/man1 +cp $PKG_DIR/doc/*.1 $PKG/man/man1/ +gzip $PKG/man/man1/* +# Cria grace.desktop +mkdir -p $PKG/usr/share/applications +cat << EOF_KDE > $PKG/usr/share/applications/Grace.desktop +[Desktop Entry] +Encoding=UTF-8 +Categories=Graphics; +Exec=xmgrace +Icon=$PREFIX/$PACKAGE/doc/mygraph.png +StartupNotify=true +Terminal=false +Type=Application +Name=Grace +GenericName=Grace +Comment= +EOF_KDE # ----------------- Stripa código ----------------------- cd $PKG -- cgit v1.2.3