updated on Tue Jan 17 16:10:12 UTC 2012
[aur-mirror.git] / lib32-libgsf / PKGBUILD
bloba7863afc0a34b4e9f1d57f320eb8d343931141a4
1 # Maintainer : SpepS <dreamspepser at yahoo dot it>
3 _pkg=libgsf
4 pkgname=lib32-$_pkg
5 pkgver=1.14.18
6 pkgrel=4
7 pkgdesc="The GNOME Structured File Library is a utility library for reading and writing structured file formats."
8 arch=('x86_64')
9 url="http://www.gnome.org/"
10 license=('GPL' 'LGPL')
11 depends=("$_pkg" 'lib32-glib2' 'lib32-libxml2' 'lib32-bzip2')
12 makedepends=('gcc-multilib')
13 source=("http://ftp.gnome.org/pub/GNOME/sources/${_pkg}/1.14/${_pkg}-${pkgver}.tar.bz2")
14 options=('!libtool')
15 md5sums=('2c15d875b1931c40c7e7a2368f3ed948')
16 sha256sums=('16d29e82f7eba68f919f2588ea5328973490fe6d4a7a5f160e8af89b387c9a95')
18 build() {
19   export CC="gcc -m32"
20   export CXX="g++ -m32"
21   export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"  
23   cd "${srcdir}/${_pkg}-${pkgver}"
25   ./configure \
26         --prefix=/usr \
27         --libdir=/usr/lib32 \
28         --sysconfdir=/etc \
29         --mandir=/usr/share/man \
30         --localstatedir=/var \
31         --disable-static \
32         --without-bonobo \
33         --without-python
35   make 
38 package() {
39   cd "${srcdir}/${_pkg}-${pkgver}"
41   make DESTDIR="${pkgdir}" GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 install
43   # Removing unneeded files
44   rm -rf "${pkgdir}/"{usr/{share,bin,include},etc}