Date: Wednesday, August 2, 2017 @ 07:29:59 Author: bpiotrowski Revision: 247391
use architecture-specific options instead of bash hackery Modified: bumblebee/trunk/PKGBUILD ----------+ PKGBUILD | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-08-02 04:48:28 UTC (rev 247390) +++ PKGBUILD 2017-08-02 07:29:59 UTC (rev 247391) @@ -13,10 +13,8 @@ 'nvidia-340xx: NVIDIA kernel driver for older devices' 'nvidia-304xx: NVIDIA kernel driver for even older devices' 'primus: faster back-end for optirun') -if [ "$CARCH" = "x86_64" ]; then - optdepends[${#optdepends[@]}]='lib32-virtualgl: run 32bit applications with optirun' - optdepends[${#optdepends[@]}]='lib32-primus: faster back-end for optirun' -fi +optdepends_x86_64=('lib32-virtualgl: run 32bit applications with optirun' + 'lib32-primus: faster back-end for optirun') url="http://www.bumblebee-project.org" license=("GPL3") install='bumblebee.install'