Added desktop-file-utils-0.15 template and its associated helper.

--HG--
extra : convert_revision : 080e2c1e9930a480e88af722f91605a8a69c66cc
This commit is contained in:
Juan RP 2008-10-15 02:50:10 +02:00
parent 128107c3ee
commit 0abdec75e6
3 changed files with 29 additions and 0 deletions

Binary file not shown.

View file

@ -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

View file

@ -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 <xtraeme@gmail.com>"
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."