Added desktop-file-utils-0.15 template and its associated helper.
--HG-- extra : convert_revision : 080e2c1e9930a480e88af722f91605a8a69c66cc
This commit is contained in:
parent
128107c3ee
commit
0abdec75e6
3 changed files with 29 additions and 0 deletions
BIN
dependencies/build-depends.db
vendored
BIN
dependencies/build-depends.db
vendored
Binary file not shown.
14
helper-templates/update-desktopdb.sh
Normal file
14
helper-templates/update-desktopdb.sh
Normal 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
|
15
templates/desktop-file-utils.tmpl
Executable file
15
templates/desktop-file-utils.tmpl
Executable 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."
|
Loading…
Reference in a new issue