From e54dd1cbee01a440049e2bde0012e677d9f4415d Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Mon, 10 Sep 2007 22:33:20 +0000 Subject: Final working SlackBuild --- psi/build/psi.SlackBuild | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/psi/build/psi.SlackBuild b/psi/build/psi.SlackBuild index aa070aab..683f542b 100755 --- a/psi/build/psi.SlackBuild +++ b/psi/build/psi.SlackBuild @@ -68,7 +68,7 @@ ARCH=${ARCH:-i486} BUILD=${BUILD:-3} # We are going to download and add the following language packs for psi: -LANG="es eo fr hu nl pl pt_BR sl vi bg mk" +LANG="ca de et es eo fr hu it nl pl pt_BR sk sl sr@Latn vi cs bg mk zh" LANGURLBASE="http://psi-im.org/files/translation/${VERSION}/" DOCS="COPYING ChangeLog README TODO" @@ -167,9 +167,6 @@ for lang in $LANG ; do echo "Downloading '`basename ${LANGSRC}`' failed.. aborting the build." mv -f "${LANGSRC}" "${LANGSRC}".FAIL exit 1 - else - echo "File '`basename ${LANGSRC}`' not available.. aborting the build." - exit 1 fi fi done @@ -216,6 +213,14 @@ fi mkdir -p $PKG/usr/share/pixmaps/ cp $PKG/usr/share/icons/hicolor/32x32/apps/psi.png $PKG/usr/share/pixmaps/ +# Update the desktop database: +mkdir -p $PKG/install +cat <<-EOTT > $PKG/install/doinst.sh + if [ -x usr/bin/update-desktop-database ]; then + chroot . /usr/bin/update-desktop-database /usr/share/applications > /dev/null 2>&1 + fi + EOTT + # Add documentation: mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION || true -- cgit v1.2.3-65-gdbad