updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / lib32-libgnomecanvasmm / PKGBUILD
blob3212aef68d5d28de17ce24eb40307443a9388a6b
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
5 pkgver=2.26.0
6 pkgrel=2
7 pkgdesc="A C++ wrapper for libgnomecanvas (32 bit, library only)"
8 arch=('x86_64')
9 url="http://gtkmm.sourceforge.net/"
10 license=('LGPL')
11 depends=('lib32-gtkmm>=2.16.0' 'lib32-libgnomecanvas>=2.26.0' "$_pkgbasename")
12 makedepends=('pkgconfig' 'gcc-multilib')
13 options=('!libtool')
14 source=(http://ftp.gnome.org/pub/gnome/sources/${_pkgbasename}/2.26/${_pkgbasename}-${pkgver}.tar.bz2)
15 md5sums=('a148c99311d46397de6e4a31736771ab')
17 build() {
18   cd "${srcdir}/${_pkgbasename}-${pkgver}"
19   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
20                                 --libdir=/usr/lib32 CXX='g++ -m32'
21   make
24 package() {
25   cd "${srcdir}/${_pkgbasename}-${pkgver}"
26   make DESTDIR="${pkgdir}" install
27   # Cleanup for a lib32 package
28   rm -rf ${pkgdir}/usr/{include,lib32/$_pkgbasename*/}
29   # Install license
30   install -Dm644 COPYING ${pkgdir}/usr/share/licenses/$pkgname/COPYING