From cdc5eec1eb3c77aefd38f984bb3eedcef2fde60e Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Wed, 20 Jan 2016 20:16:10 +0000 Subject: shared-mime-info: update to 1.5 --- abs/core/shared-mime-info/PKGBUILD | 17 +++++++++++---- abs/core/shared-mime-info/pbm.patch | 42 ------------------------------------- 2 files changed, 13 insertions(+), 46 deletions(-) delete mode 100644 abs/core/shared-mime-info/pbm.patch diff --git a/abs/core/shared-mime-info/PKGBUILD b/abs/core/shared-mime-info/PKGBUILD index 3b6bfa8..f2e5af0 100644 --- a/abs/core/shared-mime-info/PKGBUILD +++ b/abs/core/shared-mime-info/PKGBUILD @@ -1,26 +1,35 @@ -# $Id: PKGBUILD 148606 2012-02-04 11:19:59Z andyrtr $ +# $Id$ +# Maintainer: AndyRTR # Maintainer: Jan de Groot pkgname=shared-mime-info -pkgver=1.0 +pkgver=1.5 pkgrel=1 pkgdesc="Freedesktop.org Shared MIME Info" arch=('i686' 'x86_64') -license=('GPL') +license=('GPL2') 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.xz) -md5sums=('901b7977dbb2b71d12d30d4d8fb97028') +md5sums=('cc3e78d8bceaf2b361f62d67a8b4dda4') options=(!makeflags) build() { cd "${srcdir}/${pkgname}-${pkgver}" + # https://bugs.archlinux.org/task/38836 + # https://bugs.freedesktop.org/show_bug.cgi?id=70366 + export ac_cv_func_fdatasync=no ./configure --prefix=/usr --disable-update-mimedb make } +check() { + cd "${srcdir}/${pkgname}-${pkgver}" + make -k check +} + package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install diff --git a/abs/core/shared-mime-info/pbm.patch b/abs/core/shared-mime-info/pbm.patch deleted file mode 100644 index 95f9ab8..0000000 --- a/abs/core/shared-mime-info/pbm.patch +++ /dev/null @@ -1,42 +0,0 @@ -diff -Naur shared-mime-info-0.70-orig/freedesktop.org.xml shared-mime-info-0.70/freedesktop.org.xml ---- shared-mime-info-0.70-orig/freedesktop.org.xml 2010-02-06 02:39:24.000000000 -0500 -+++ shared-mime-info-0.70/freedesktop.org.xml 2010-02-06 02:48:01.000000000 -0500 -@@ -17025,12 +17025,10 @@ - - - -- - - - - -- - - - -@@ -17074,12 +17072,10 @@ - - - -- - - - - -- - - - -@@ -17123,12 +17119,10 @@ - - - -- - - - - -- - - - -- cgit v0.12