diff --git a/dependencies/build-depends.db b/dependencies/build-depends.db index 1612089671..7aa2d7e69f 100644 Binary files a/dependencies/build-depends.db and b/dependencies/build-depends.db differ diff --git a/helper-templates/update-desktopdb.sh b/helper-templates/update-desktopdb.sh new file mode 100644 index 0000000000..05a25694fb --- /dev/null +++ b/helper-templates/update-desktopdb.sh @@ -0,0 +1,14 @@ +# +# This helper update's desktop-file-utils desktop database for any +# package that requests this operation. +# + +update_desktopdb_cmd=$XBPS_MASTERDIR/bin/update-desktop-database +desktopdb_dir=$XBPS_MASTERDIR/share/applications + +if [ -x $update_desktopdb_cmd -a -d $desktopdb_dir ]; then + $update_desktopdb_cmd $desktopdb_dir && \ + echo "=> Updated desktop database directory." +fi + +unset update_desktopdb_cmd desktopdb_dir diff --git a/templates/desktop-file-utils.tmpl b/templates/desktop-file-utils.tmpl new file mode 100755 index 0000000000..f55e71aee2 --- /dev/null +++ b/templates/desktop-file-utils.tmpl @@ -0,0 +1,15 @@ +# Template build file for 'desktop-file-utils'. +pkgname=desktop-file-utils +version=0.15 +distfiles=" +http://freedesktop.org/software/desktop-file-utils/releases/$pkgname-$version@.tar.gz" +build_style=gnu_configure +make_cmd="$XBPS_MASTERDIR/bin/gmake" +short_desc="Utilities to manage desktop entries" +maintainer="Juan RP " +checksum=ab6fc0bc116d6ec338ef2699b96d57698d4a1d03 +long_desc=" + desktop-file-utils contains a couple of command line utilities for working + with desktop entries and the applications database. More specifically, + it contains the update-desktop-database utility, used to rebuild the database + that connects MIME types to applications."