Date: Wednesday, August 2, 2017 @ 07:42:36
  Author: bpiotrowski
Revision: 247401

use architecture-specific options instead of bash hackery

Modified:
  sopcast/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-08-02 07:42:33 UTC (rev 247400)
+++ PKGBUILD    2017-08-02 07:42:36 UTC (rev 247401)
@@ -9,13 +9,8 @@
 arch=('i686' 'x86_64')
 url="http://www.sopcast.org";
 license=('custom')
-
-if [[ $CARCH == "x86_64" ]]; then
-  depends=('lib32-libstdc++5')
-else
-  depends=('libstdc++5')
-fi
-
+depends_x86_64=('lib32-libstdc++5')
+depends_i686=('libstdc++5')
 install=sopcast.install
 source=("http://download.easetuner.com/download/sp-auth.tgz";
         'license')

Reply via email to