summaryrefslogtreecommitdiffstats
path: root/abs/core/libgsf/PKGBUILD
blob: 67aa4650845c4f9a052294a468e94f68e7200c84 (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
# $Id: PKGBUILD 22409 2008-12-26 18:58:32Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>

pkgname=libgsf
pkgver=1.14.10
pkgrel=1
pkgdesc="The GNOME Structured File Library is a utility library for reading and writing structured file formats."
arch=(i686 x86_64)
url="http://www.gnome.org/"
license=('GPL' 'LGPL')
depends=('libxml2>=2.7.2' 'glib2>=2.18.3' 'bzip2')
makedepends=('perlxml' 'pkgconfig' 'python')
options=('!libtool')
source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/1.14/${pkgname}-${pkgver}.tar.bz2)
md5sums=('f9b2f309089af683066ff0b319227e57')

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  sed -i -e 's/gsf-gnome//' -e 's/thumbnailer//' Makefile.*
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
              --without-gnome-vfs --without-bonobo \
	      --disable-static || return 1
  make || return 1
  make DESTDIR=${startdir}/pkg install || return 1
  rm -f ${startdir}/pkg/usr{,/share}/man/man1/gsf-office-thumbnailer.1
}