core/shared-mime-info/PKGBUILD
2012-11-17 16:48:18 +00:00

29 lines
779 B
Bash

# $Id: PKGBUILD 67312 2010-02-06 08:33:20Z eric $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=shared-mime-info
pkgver=1.0
pkgrel=1
pkgdesc="Freedesktop.org Shared MIME Info"
arch=('i686' 'x86_64')
license=('GPL')
depends=('libxml2>=2.7.3' 'glib2>=2.22.2')
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')
sha1sums=('146dbad62f5450116b0353f88bb8e700f0034013')
options=(!makeflags)
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --disable-update-mimedb
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}