summaryrefslogtreecommitdiffstats
path: root/abs/extra/gnome-mime-data/PKGBUILD
blob: e9294d8448a6e6037e90c7c6d3bf9142b6b138ca (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
# $Id: PKGBUILD 150864 2012-02-23 13:07:49Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=gnome-mime-data
pkgver=2.18.0
pkgrel=6
pkgdesc="The base MIME and Application database for GNOME"
arch=(any)
license=('GPL')
depends=('shared-mime-info') 
makedepends=('intltool')
url="http://www.gnome.org"
source=(ftp://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.18/${pkgname}-${pkgver}.tar.bz2)
md5sums=('541858188f80090d12a33b5a7c34d42c')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install

  install -m755 -d "${pkgdir}/usr/lib"
  mv "${pkgdir}/usr/share/pkgconfig" "${pkgdir}/usr/lib/"
}