# AUR packages should not be built from binaries. This is a workaround.
# If you manage to built this lib32 package from source, let the maintainer know
# and you will be helping the AUR community.
_pkgbase=smbclient
pkgname=lib32-${_pkgbase}
pkgver=3.6.10
pkgrel32=1
pkgrel=1
pkgdesc="Tools to access a server's filespace and printers via SMB (32 bits)"
arch=('x86_64')
url="http://www.gnome.org"
depends=('lib32-libcap' 'lib32-krb5' 'lib32-tdb' 'lib32-libwbclient' 'lib32-talloc' "${_pkgbase}")
license=('GPL' 'LGPL')
source=("ftp://ftp.archlinux.org/extra/os/i686/${_pkgbase}-${pkgver}-${pkgrel32}-i686.pkg.tar.xz")
md5sums=('8dec1f1c6134c4456c9fb8b914852201')
package() {
mkdir -p "${pkgdir}"/usr/lib32
cp -rPf "${srcdir}"/usr/lib/* "${pkgdir}"/usr/lib32
rm -rf "${pkgdir}"/usr/lib32/cups # not a lib
}