diff --git a/.SRCINFO b/.SRCINFO index cbb886a1a7ee3..187baa0cafd3a 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -41,7 +41,6 @@ pkgbase = icecat optdepends = libnotify: Notification integration optdepends = pulseaudio: Audio support optdepends = speech-dispatcher: Text-to-Speech - optdepends = clang source = http://alpha.gnu.org/gnu/gnuzilla/60.2.0/icecat-60.2.0-gnu1.tar.bz2 source = http://alpha.gnu.org/gnu/gnuzilla/60.2.0/icecat-60.2.0-gnu1.tar.bz2.sig source = icecat.desktop diff --git a/PKGBUILD b/PKGBUILD index 715cf2ae17b42..ac672ad3327e1 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -26,9 +26,7 @@ optdepends=('networkmanager: Location detection via available WiFi networks' ## Set this variable to 1 if you want to build with clang compiler ## #_CLANG=0 -if [ "$_CLANG" -eq "1" ]; then - optdepends+=(clang) -fi +[ "$_CLANG" ] && [ "$_CLANG" -eq "1" ] && optdepends+=(clang) #source=(http://ftpmirror.gnu.org/gnuzilla/${pkgver}/${pkgname}-${_pkgver}.tar.bz2{,.sig} #source=(https://ftp.gnu.org/gnu/gnuzilla/${pkgver}/${pkgname}-${_pkgver}.tar.bz2{,.sig} ## Main upstream download site