1 # Maintainer: josephgbr <rafael.f.f1@gmail.com>
4 pkgname=lib32-${_pkgbase}
7 pkgdesc="Library for the dynamic creation of images by programmers (32 bit)"
9 url="http://www.libgd.org/"
11 depends=('lib32-libpng' 'lib32-fontconfig' 'lib32-libjpeg' "${_pkgbase}")
12 makedepends=('gcc-multilib') #perl
14 source=("ftp://ftp.archlinux.org/other/${_pkgbase}/${_pkgbase}-${pkgver}.tar.bz2"
16 md5sums=('e876979ca3130623a4e7866d9579171a'
17 '7921556f4960e8d66cf4fb67ea7101b5')
22 export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
24 cd "${srcdir}/${_pkgbase}-${pkgver}"
25 patch -Np1 -i "${srcdir}/libpng14.patch"
26 ./configure --prefix=/usr --without-xpm --libdir=/usr/lib32
31 cd "${srcdir}/${_pkgbase}-${pkgver}"
32 make DESTDIR="${pkgdir}" install
33 install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
34 rm -rf "$pkgdir/usr"/{bin,include}