shared-mime-info: update to 0.60, new deps style.

--HG--
extra : convert_revision : 7540f7c158e1d99b73fdac975d1f680e5ad119aa
This commit is contained in:
Juan RP 2009-04-17 02:38:46 +02:00
parent 557b1e8982
commit 3425c4b4c0
2 changed files with 9 additions and 15 deletions

View file

@ -1,16 +1,12 @@
# Template build file for 'shared-mime-info'.
pkgname=shared-mime-info
version=0.51
patch_files="$pkgname-fix-pkgconfig.diff"
distfiles="
http://people.freedesktop.org/~hadess/$pkgname-$version.tar.bz2"
version=0.60
distfiles="http://people.freedesktop.org/~hadess/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--disable-update-mimedb"
make_cmd="$XBPS_MASTERDIR/bin/gmake"
pkgconfig_override="shared-mime-info.pc"
short_desc="Core database of common types"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=9e0281f3bd9ac44af60833ec6b15af9f58936cc7
checksum=a0d0a948fbb8d0de576876791d53efd1c5e8dd782eb9e5369cafc06c3969de22
long_desc="
Many programs and desktops use the MIME system to represent the types of
files. Frequently, it is necessary to work out the correct MIME type for
@ -24,12 +20,10 @@ long_desc="
This package contains the core database of common types and the
update-mime-database command used to extend it."
# Update shared-mime-info database file.
postinstall_helpers="update-mimedb.sh"
triggers="mimedb"
pre_configure()
{
# Replace hardcoded paths in XDG_DATA_DIRS.
sed -i -e "s|/usr/local/share|$XBPS_MASTERDIR/share|g" \
$wrksrc/update-mime-database.c
}
Add_dependency build pkg-config
Add_dependency build intltool
Add_dependency full glibc
Add_dependency full glib
Add_dependency full libxml2