diff --git a/lib32-llvm/PKGBUILD b/lib32-llvm/PKGBUILD index 30a4af9..77fda87 100644 --- a/lib32-llvm/PKGBUILD +++ b/lib32-llvm/PKGBUILD @@ -4,22 +4,22 @@ # maintainer (x86_64): Anke Boersma pkgname=('lib32-llvm') -pkgver=3.1 -pkgrel=3 +pkgver=3.2 +pkgrel=1 arch=('x86_64') url="http://llvm.org/" license=('custom:University of Illinois/NCSA Open Source License') makedepends=('lib32-libffi' 'python2' 'gcc-multilib' 'groff') source=("http://llvm.org/releases/${pkgver}/llvm-${pkgver}.src.tar.gz") -md5sums=('16eaa7679f84113f65b12760fdfe4ee1') +md5sums=('71610289bbc819e3e15fdd562809a2d7') build() { - cd "${srcdir}/llvm-${pkgver}.src" - export CC="gcc -m32" export CXX="g++ -m32" export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" + cd "${srcdir}/llvm-${pkgver}.src" + # Fix installation directories, ./configure doesn't seem to set them right sed -e 's:\$(PROJ_prefix)/etc/llvm:/etc/llvm:' \ -e 's:\$(PROJ_prefix)/lib:$(PROJ_prefix)/lib32/llvm:' \ @@ -93,9 +93,9 @@ depends=('perl' 'lib32-libffi' 'llvm') install -D -m644 LICENSE.TXT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - rm -r "${pkgdir}"/usr/{bin,lib,include,share/{doc,man}} + rm -rf "${pkgdir}/usr"/{bin,lib,include,share/{doc,man}} - mkdir "${pkgdir}"/usr/bin + mkdir "${pkgdir}/usr/bin" mv "${pkgdir}/usr/lib32/llvm-config" "${pkgdir}/usr/bin/llvm-config32" }