Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=7798b5c4374a474c081594d5fd9ce4378e09b74f

commit 7798b5c4374a474c081594d5fd9ce4378e09b74f
Author: DeX77 <[email protected]>
Date:   Tue Mar 1 15:31:04 2016 +0100

skype-4.3.0.37-3-x86_64

* switch to lib32

diff --git a/source/xapps-extra/skype/FrugalBuild 
b/source/xapps-extra/skype/FrugalBuild
index 6520e48..babdf92 100644
--- a/source/xapps-extra/skype/FrugalBuild
+++ b/source/xapps-extra/skype/FrugalBuild
@@ -3,47 +3,43 @@

pkgname=skype
pkgver=4.3.0.37
-pkgrel=2
+pkgrel=3
pkgdesc="Skype will let you make free calls to your friends all over the world."
url="http://www.skype.com";
-rodepends=('libstdc++' 'pulseaudio' 'libqtwebkit' 'libxscrnsaver' 'libqtgui' 
'libxv' 'libqtdbus')
+[ "$CARCH" == "i686" ] && rodepends=('libstdc++' 'libqtwebkit' 'libxscrnsaver' 
'libqtgui' 'libxv' 'libqtdbus')
+[ "$CARCH" == "x86_64" ] && rodepends=('lib32-libstdc++' 'lib32-libqtwebkit' 
'lib32-libxscrnsaver' 'lib32-libqtgui' 'lib32-libxv' 'lib32-libqtdbus')
+rodepends=("${rodepends[@]}" 'pulseaudio')
groups=('xapps-extra')
archs=('i686' 'x86_64')
-up2date="lynx -dump http://skype.en.malavida.com/linux/download | sed -n 
's|.*Skype \([0-9].*\)|\1|p'"
+up2date="lynx -dump http://skype.en.malavida.com/linux/download | sed -n 
's|.*Skype \([0-9].*\)|\1|p' | head -n1"
source=(http://download.skype.com/linux/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('02222ac3c32e7ae58fb044ab5d2541c4f0d11369')
license="skype-eula"
options=('nobuild' 'nostrip')
_F_gnome_desktop=y
-_F_fw32build_nobuild="yes"
-Finclude gnome-scriptlet fw32build
+Finclude gnome-scriptlet

build()
{
-        if [ "$CARCH" == "x86_64" ] ; then
-                Fw32_build
-               sed -i 's|fw32-run skype|Exec=env PULSE_LATENCY_MSEC=60 
fw32-run skype %U|' $Fdestdir/usr/bin/$pkgname || Fdie
-        else
-               Fcd
-               Fbuild_gnome_scriptlet
-               Fmkdir usr/share/skype
-               # Install dbus system conf file
-               Ffilerel /etc/dbus-1/system.d/${pkgname}.conf
-               # Install bin file
-               Fexerel /usr/bin/${pkgname}
-               # Install desktop file
-               Ffilerel /usr/share/applications/${pkgname}.desktop
-               # Install icons files
-               Ffilerel icons/* usr/share/pixmaps/skype/
-               # Install desktop icon link
-               Fln /usr/share/pixmaps/skype/SkypeBlue_48x48.png \
-                       /usr/share/pixmaps/skype.png
-               Fln /usr/share/pixmaps/skype/SkypeBlue_48x48.png \
-                       /usr/share/icons/skype.png
-               # Install sound, avatars and language directoryes
-               Fcprel sounds usr/share/skype/sounds/
-               Fcprel lang usr/share/skype/lang/
-               Fcprel avatars usr/share/skype/
-       fi
+       Fcd
+       Fbuild_gnome_scriptlet
+       Fmkdir usr/share/skype
+       # Install dbus system conf file
+       Ffilerel /etc/dbus-1/system.d/${pkgname}.conf
+       # Install bin file
+       Fexerel /usr/bin/${pkgname}
+       # Install desktop file
+       Ffilerel /usr/share/applications/${pkgname}.desktop
+       # Install icons files
+       Ffilerel icons/* usr/share/pixmaps/skype/
+       # Install desktop icon link
+       Fln /usr/share/pixmaps/skype/SkypeBlue_48x48.png \
+               /usr/share/pixmaps/skype.png
+       Fln /usr/share/pixmaps/skype/SkypeBlue_48x48.png \
+               /usr/share/icons/skype.png
+       # Install sound, avatars and language directoryes
+       Fcprel sounds usr/share/skype/sounds/
+       Fcprel lang usr/share/skype/lang/
+       Fcprel avatars usr/share/skype/
}
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to