updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / lib32-libgnomecanvas / PKGBUILD
blob10cad9170c200b4b95acecf7f62864ceb458afdd
1 _pkgbasename=libgnomecanvas
2 pkgname=lib32-$_pkgbasename
3 pkgver=2.30.3
4 pkgrel=1
5 pkgdesc="The GNOME Canvas library (32 bit)"
6 arch=('x86_64')
7 license=('LGPL')
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')
11 options=('!libtool')
12 source=(http://ftp.gnome.org/pub/gnome/sources/${_pkgbasename}/2.30/${_pkgbasename}-${pkgver}.tar.bz2)
13 sha256sums=('859b78e08489fce4d5c15c676fec1cd79782f115f516e8ad8bed6abcb8dedd40')
15 build() {
16   cd "${srcdir}/${_pkgbasename}-${pkgver}"
17   ./configure --disable-static --enable-glade --libdir=/usr/lib32 \
18                                 --prefix=/usr CC='gcc -m32'
19   make
22 package() {
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"