1 # Maintainer: Gicu Gorodenco <cyclopsihus 'at' gmail 'dot' com>
2 # Contributor: rafael ff1 <rafael.f.f1 'at' gmail 'dot' com>
3 _pkgbasename=libgnomecanvasmm
4 pkgname=lib32-$_pkgbasename
7 pkgdesc="A C++ wrapper for libgnomecanvas (32 bit, library only)"
9 url="http://gtkmm.sourceforge.net/"
11 depends=('lib32-gtkmm>=2.16.0' 'lib32-libgnomecanvas>=2.26.0' "$_pkgbasename")
12 makedepends=('pkgconfig' 'gcc-multilib')
14 source=(http://ftp.gnome.org/pub/gnome/sources/${_pkgbasename}/2.26/${_pkgbasename}-${pkgver}.tar.bz2)
15 md5sums=('a148c99311d46397de6e4a31736771ab')
18 cd "${srcdir}/${_pkgbasename}-${pkgver}"
19 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
20 --libdir=/usr/lib32 CXX='g++ -m32'
25 cd "${srcdir}/${_pkgbasename}-${pkgver}"
26 make DESTDIR="${pkgdir}" install
27 # Cleanup for a lib32 package
28 rm -rf ${pkgdir}/usr/{include,lib32/$_pkgbasename*/}
30 install -Dm644 COPYING ${pkgdir}/usr/share/licenses/$pkgname/COPYING