# $Id: PKGBUILD 134361 2011-08-03 06:03:06Z bisson $
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>

pkgname=mime-types
pkgver=8
pkgrel=1
pkgdesc='Provides /etc/mime.types'
url='http://www.archlinux.org/'
license=('GPL2')
arch=('any')
backup=('etc/mime.types')
source=("http://mirrors.kernel.org/gentoo/distfiles/${pkgname}-${pkgver}.tar.bz2"
        'archlinux.patch')
sha1sums=('01682b0ad3111a6cf65e6c9db0c18ddd7523c593'
          '2fc3e867317e7144bbf38359f3791c3f8899198a')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	patch -p1 -i ../archlinux.patch
	install -Dm644 mime.types "${pkgdir}"/etc/mime.types
}
