updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / lib32-atkmm / PKGBUILD
blobaef5aa21ed866a7abfa49d65bc2717918f357251
1 # Maintainer: josephgbr <rafael.f.f1 at gmail dot com>
2 # Contributor: 
4 _pkgbase=atkmm
5 pkgname=lib32-$_pkgbase
6 pkgver=2.22.6
7 pkgrel=1
8 pkgdesc="C++ bindings for atk (32 bit)"
9 arch=('x86_64')
10 license=('LGPL')
11 depends=('lib32-atk' 'lib32-glibmm' 'lib32-libsigc++' "$_pkgbase")
12 makedepends=('gcc-multilib' )
13 options=('!libtool' '!emptydirs')
14 url="http://gtkmm.sourceforge.net/"
15 source=(http://ftp.gnome.org/pub/GNOME/sources/atkmm/2.22/atkmm-${pkgver}.tar.xz)
16 sha256sums=('0a74295106b9e3ae552b169eb4e098b8b825c4115045b9d5134a6c79a238aeb6')
18 build() {
19   export CXX='g++ -m32'
20   export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
21   
22   cd "${srcdir}/${_pkgbase}-${pkgver}"
23   ./configure --prefix=/usr --libdir=/usr/lib32
24   make
27 package() {
28   cd "${srcdir}/${_pkgbase}-${pkgver}"  
29   sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile
30   make DESTDIR="${pkgdir}" install
31   rm -rf "${pkgdir}/usr/include"