summaryrefslogtreecommitdiffstats
path: root/abs/core/shared-mime-info/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/shared-mime-info/PKGBUILD')
-rw-r--r--abs/core/shared-mime-info/PKGBUILD25
1 files changed, 16 insertions, 9 deletions
diff --git a/abs/core/shared-mime-info/PKGBUILD b/abs/core/shared-mime-info/PKGBUILD
index 4850139..45f7ba1 100644
--- a/abs/core/shared-mime-info/PKGBUILD
+++ b/abs/core/shared-mime-info/PKGBUILD
@@ -1,22 +1,29 @@
-# $Id: PKGBUILD 15025 2008-10-12 10:43:09Z jgc $
+# $Id: PKGBUILD 95306 2010-10-18 14:49:19Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=shared-mime-info
-pkgver=0.51
+pkgver=0.80
pkgrel=1
pkgdesc="Freedesktop.org Shared MIME Info"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
license=('GPL')
-depends=('libxml2>=2.6.32' 'glib2>=2.18.1')
-makedepends=('perlxml' 'pkgconfig')
+depends=('libxml2>=2.7.7' 'glib2>=2.26.0')
+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)
-md5sums=('01d72161f7d88123fbccd378871f02f0')
+source=(http://freedesktop.org/~hadess/${pkgname}-${pkgver}.tar.bz2
+ pbm.patch)
+md5sums=('eb8d24a6a80888849c9db7f30232ba6a'
+ '39fcc08fbd33145684ba97f1f64644c2')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --disable-update-mimedb || return 1
+ patch -p1 -i "${srcdir}/pbm.patch"
+ ./configure --prefix=/usr --disable-update-mimedb
make || return 1
- make DESTDIR="${pkgdir}" install || return 1
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
}