# Template build file for 'shared-mime-info'.
pkgname=shared-mime-info
version=1.2
revision=1
build_style=gnu-configure
configure_args="--disable-update-mimedb"
hostmakedepends="pkg-config intltool"
makedepends="libglib-devel libxml2-devel"
short_desc="Core database of common types"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://freedesktop.org/Software/shared-mime-info"
distfiles="http://people.freedesktop.org/~hadess/$pkgname-$version.tar.xz"
checksum=a5516ae241b95a948a6749b1cbf65dc20c3bb563a73cc7bedb7065933788bb78
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
 a file. This is generally done by examining the file's name or contents,
 and looking up the correct MIME type in a database.

 For interoperability, it is useful for different programs to use the same
 database so that different programs agree on the type of a file, and new
 rules for determining the type apply to all programs.

 This package contains the core database of common types and the
 update-mime-database command used to extend it."

disable_parallel_build=yes

shared-mime-info_package() {
	pkg_install() {
		vmove all
	}
}