updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / lib32-libart-lgpl / PKGBUILD
blob20f31fe5b4ccef8abf9391a98e9f2acc6fc61122
1 # Maintainer: Gicu GORODENCO <cyclopsihus 'at' gmail 'dot' com>
3 _pkgbasename=libart_lgpl
4 pkgname=lib32-libart-lgpl
5 pkgver=2.3.21
6 pkgrel=2
7 pkgdesc="A library for high-performance 2D graphics (lib32)"
8 url="http://www.levien.com/libart/"
9 arch=(x86_64)
10 license=('LGPL')
11 depends=('lib32-glibc')
12 makedepends=('pkgconfig' 'gcc-multilib')
13 source=(http://ftp.gnome.org/pub/GNOME/sources/${_pkgbasename}/2.3/${_pkgbasename}-${pkgver}.tar.bz2)
14 options=('!libtool')
15 sha256sums=('fdc11e74c10fc9ffe4188537e2b370c0abacca7d89021d4d303afdf7fd7476fa')
17 build() {
18         cd "${srcdir}/${_pkgbasename}-${pkgver}"
19         ./configure --prefix=/usr --libdir=/usr/lib32 CC='gcc -m32' CXX='g++ -m32'
20         make
23 package() {
24         cd "${srcdir}/${_pkgbasename}-${pkgver}"
25         make DESTDIR="${pkgdir}" install
26         # Cleanup for a lib32 package
27         rm -rf ${pkgdir}/usr/{../etc,bin,include,share}
28         # Install license
29         install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING