PKGBUILDs/extra/libgsf/PKGBUILD

28 lines
1 KiB
Bash
Raw Normal View History

2009-09-26 14:35:50 +00:00
# $Id: PKGBUILD 41342 2009-06-03 10:28:09Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
pkgname=libgsf
pkgver=1.14.14
pkgrel=1
pkgdesc="The GNOME Structured File Library is a utility library for reading and writing structured file formats."
arch=(arm)
url="http://www.gnome.org/"
license=('GPL' 'LGPL')
depends=('libxml2>=2.7.3' 'glib2>=2.20.1' 'bzip2')
makedepends=('intltool' 'pkgconfig' 'python')
options=('!libtool')
source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/1.14/${pkgname}-${pkgver}.tar.bz2)
md5sums=('69e9c57d48539782f72c55824a3c6859')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed -i -e 's/gsf-gnome//' -e 's/thumbnailer//' Makefile.* || return 1
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--mandir=/usr/share/man --disable-static \
--without-gnome-vfs --without-bonobo || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
rm -f "${pkgdir}/usr/share/man/man1/gsf-office-thumbnailer.1"
}