diff options
author | Eric Hameleers <alien@slackware.com> | 2007-09-10 22:33:20 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2007-09-10 22:33:20 +0000 |
commit | e54dd1cbee01a440049e2bde0012e677d9f4415d (patch) | |
tree | 3eba40f7ea9eb67ce371db1365a5eb8b3bcc8f0a | |
parent | 3f59dceffd6603dedc470e129cf91d62ef54600e (diff) | |
download | asb-e54dd1cbee01a440049e2bde0012e677d9f4415d.tar.gz asb-e54dd1cbee01a440049e2bde0012e677d9f4415d.tar.xz |
Final working SlackBuild
-rwxr-xr-x | psi/build/psi.SlackBuild | 13 |
1 files 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 |