From 7a28a89cac5da5b8b288991e397b965f59e200db Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Tue, 7 Aug 2012 13:56:50 -0500
Subject: shared-mime-info 1.0

---
 abs/core/shared-mime-info/PKGBUILD  | 16 +++++++---------
 abs/core/shared-mime-info/pbm.patch |  7 -------
 2 files changed, 7 insertions(+), 16 deletions(-)

diff --git a/abs/core/shared-mime-info/PKGBUILD b/abs/core/shared-mime-info/PKGBUILD
index 45f7ba1..3b6bfa8 100644
--- a/abs/core/shared-mime-info/PKGBUILD
+++ b/abs/core/shared-mime-info/PKGBUILD
@@ -1,26 +1,24 @@
-# $Id: PKGBUILD 95306 2010-10-18 14:49:19Z jgc $
+# $Id: PKGBUILD 148606 2012-02-04 11:19:59Z andyrtr $
 # Maintainer: Jan de Groot <jgc@archlinux.org>
 
 pkgname=shared-mime-info
-pkgver=0.80
+pkgver=1.0
 pkgrel=1
 pkgdesc="Freedesktop.org Shared MIME Info"
 arch=('i686' 'x86_64')
 license=('GPL')
-depends=('libxml2>=2.7.7' 'glib2>=2.26.0')
+depends=('libxml2' 'glib2')
 makedepends=('intltool' 'pkgconfig')
 install=shared-mime-info.install
 url="http://freedesktop.org/Software/shared-mime-info"
-source=(http://freedesktop.org/~hadess/${pkgname}-${pkgver}.tar.bz2
-        pbm.patch)
-md5sums=('eb8d24a6a80888849c9db7f30232ba6a'
-         '39fcc08fbd33145684ba97f1f64644c2')
+source=(http://freedesktop.org/~hadess/${pkgname}-${pkgver}.tar.xz)
+md5sums=('901b7977dbb2b71d12d30d4d8fb97028')
+options=(!makeflags)
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  patch -p1 -i "${srcdir}/pbm.patch"
   ./configure --prefix=/usr --disable-update-mimedb
-  make || return 1
+  make
 }
 
 package() {
diff --git a/abs/core/shared-mime-info/pbm.patch b/abs/core/shared-mime-info/pbm.patch
index 040900e..95f9ab8 100644
--- a/abs/core/shared-mime-info/pbm.patch
+++ b/abs/core/shared-mime-info/pbm.patch
@@ -40,10 +40,3 @@ diff -Naur shared-mime-info-0.70-orig/freedesktop.org.xml shared-mime-info-0.70/
  	</match>
        </match>
      </magic>
-@@ -23926,4 +23920,4 @@
-     </treemagic>
-   </mime-type>
- 
--</mime-info>
-\ No newline at end of file
-+</mime-info>
-- 
cgit v0.12

