Date: Monday, March 25, 2013 @ 18:46:19 Author: spupykin Revision: 86991
upgpkg: q4wine 1.0_r2-1 Modified: q4wine/trunk/PKGBUILD ----------+ PKGBUILD | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-03-25 17:17:04 UTC (rev 86990) +++ PKGBUILD 2013-03-25 17:46:19 UTC (rev 86991) @@ -9,8 +9,14 @@ arch=("i686" "x86_64") url="http://sourceforge.net/projects/${pkgname}/" license=("GPL3") -depends=("qt4" "wine" "sqlite3" "which" "icoutils") -makedepends=("cmake") +if [[ $CARCH == x86_64 ]]; then + # in multilib repo catalyst is 1st and default, so hardcode lib32-mesa-libgl + depends=("lib32-mesa-libgl" "qt4" "wine" "sqlite3" "which" "icoutils") + makedepends=("cmake") +else + depends=("qt4" "wine" "sqlite3" "which" "icoutils") + makedepends=("cmake") +fi optdepends=("winetricks" "fuseiso") options=('!emptydirs') source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver/_/-}.tar.bz2) @@ -26,6 +32,11 @@ } package() { +if [[ $CARCH == x86_64 ]]; then + # remove hardcoded lib32-mesa-libgl + depends=(${depends[@]:1}) +fi + cd ${srcdir}/${pkgname}-${pkgver/_/-} make DESTDIR=${pkgdir} install }