blob: 37e384b36fd166d4f275e47fdacef16b4ee0ffc1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $Id: PKGBUILD 213929 2014-05-31 18:17:31Z andyrtr $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=shared-mime-info
pkgver=1.3
pkgrel=1
pkgdesc="Freedesktop.org Shared MIME Info"
arch=('i686' 'x86_64')
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=('743720bc4803dd69f55449013d350f31')
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
}
|