From 096f7dedbe0e37f2b36fa9094c5c50a29ce26036 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Wed, 15 Aug 2012 10:45:16 -0500
Subject: gnome-mime-data: 2.18.0 rebuild

---
 abs/extra/gnome-mime-data/PKGBUILD | 23 +++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)

diff --git a/abs/extra/gnome-mime-data/PKGBUILD b/abs/extra/gnome-mime-data/PKGBUILD
index 2ce4092..e9294d8 100644
--- a/abs/extra/gnome-mime-data/PKGBUILD
+++ b/abs/extra/gnome-mime-data/PKGBUILD
@@ -1,25 +1,28 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# $Id: PKGBUILD 150864 2012-02-23 13:07:49Z ibiru $
 # Maintainer: Jan de Groot <jgc@archlinux.org>
 
 pkgname=gnome-mime-data
 pkgver=2.18.0
-pkgrel=3
+pkgrel=6
 pkgdesc="The base MIME and Application database for GNOME"
-arch=(i686 x86_64)
+arch=(any)
 license=('GPL')
 depends=('shared-mime-info') 
-makedepens=('perlxml')
+makedepends=('intltool')
 url="http://www.gnome.org"
-groups=('gnome')
 source=(ftp://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.18/${pkgname}-${pkgver}.tar.bz2)
 md5sums=('541858188f80090d12a33b5a7c34d42c')
 
 build() {
-  cd ${startdir}/src/${pkgname}-${pkgver}
+  cd "${srcdir}/${pkgname}-${pkgver}"
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
-  make || return 1
-  make DESTDIR=${startdir}/pkg install
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
 
-  mkdir -p ${startdir}/pkg/usr/lib
-  mv ${startdir}/pkg/usr/share/pkgconfig ${startdir}/pkg/usr/lib/
+  install -m755 -d "${pkgdir}/usr/lib"
+  mv "${pkgdir}/usr/share/pkgconfig" "${pkgdir}/usr/lib/"
 }
-- 
cgit v0.12