updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / lib32-pangomm / PKGBUILD
blobe90a428faa7443e0bf742b6a28e8a9db123bd626
1 # Maintainer: Gicu Gorodenco <cyclopsihus 'at' gmail 'dot' com>
2 # Contributor: josephgbr
3 _pkgbasename=pangomm
4 pkgname=lib32-$_pkgbasename
5 pkgver=2.28.4
6 pkgrel=1
7 pkgdesc="C++ bindings for pango (32 bit, library only)"
8 arch=('x86_64')
9 url="http://gtkmm.sourceforge.net/"
10 license=('LGPL')
11 depends=('lib32-pango' 'lib32-glibmm' 'lib32-cairomm')
12 makedepends=('gcc-multilib')
13 options=('!libtool')
14 source=(http://ftp.gnome.org/pub/GNOME/sources/${_pkgbasename}/2.28/${_pkgbasename}-${pkgver}.tar.bz2)
15 sha256sums=('933631c110e091f42d16a0f7d7d8f0249b2c762b83db9cfd9091e8fda1b772a5')
17 build() {
18   cd "${srcdir}/${_pkgbasename}-${pkgver}"
19   ./configure --prefix=/usr --libdir=/usr/lib32 CXX='g++ -m32'
20   make
23 package() {
24   cd "${srcdir}/${_pkgbasename}-${pkgver}"
25   sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile
26   make DESTDIR="${pkgdir}" install
27   # Cleanup for a lib32 package
28   rm -rf ${pkgdir}/usr/include