summaryrefslogtreecommitdiffstats
path: root/abs/core/shared-mime-info/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-01-20 20:16:10 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-01-20 20:16:10 (GMT)
commitcdc5eec1eb3c77aefd38f984bb3eedcef2fde60e (patch)
tree6ed7c641181601014c56223b165feddb09347a01 /abs/core/shared-mime-info/PKGBUILD
parent2cf59595f15d6fff4f4c038679ebec4a6411f44e (diff)
downloadlinhes_pkgbuild-cdc5eec1eb3c77aefd38f984bb3eedcef2fde60e.zip
linhes_pkgbuild-cdc5eec1eb3c77aefd38f984bb3eedcef2fde60e.tar.gz
linhes_pkgbuild-cdc5eec1eb3c77aefd38f984bb3eedcef2fde60e.tar.bz2
shared-mime-info: update to 1.5
Diffstat (limited to 'abs/core/shared-mime-info/PKGBUILD')
-rw-r--r--abs/core/shared-mime-info/PKGBUILD17
1 files changed, 13 insertions, 4 deletions
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 <andyrtr@archlinux.org>
# Maintainer: Jan de Groot <jgc@archlinux.org>
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