1 _pkgbasename=libgnomecanvas
2 pkgname=lib32-$_pkgbasename
5 pkgdesc="The GNOME Canvas library (32 bit)"
8 url="http://www.gnome.org"
9 depends=('lib32-libglade>=2.6.4' 'lib32-libart-lgpl>=2.3.21' "$_pkgbasename>=$pkgver")
10 makedepends=('pkgconfig' 'intltool' 'gcc-multilib')
12 source=(http://ftp.gnome.org/pub/gnome/sources/${_pkgbasename}/2.30/${_pkgbasename}-${pkgver}.tar.bz2)
13 sha256sums=('859b78e08489fce4d5c15c676fec1cd79782f115f516e8ad8bed6abcb8dedd40')
16 cd "${srcdir}/${_pkgbasename}-${pkgver}"
17 ./configure --disable-static --enable-glade --libdir=/usr/lib32 \
18 --prefix=/usr CC='gcc -m32'
23 cd "${srcdir}/${_pkgbasename}-${pkgver}"
24 make DESTDIR="${pkgdir}" install
25 rm -rf ${pkgdir}/usr/{include,share/gtk-doc,share/locale}
26 install -Dm644 COPYING.LIB "${pkgdir}/usr/share/licenses/${pkgname}/COPYING.LIB"