Hi there,

I join a git patch for the last version of Skype.

Can you take a look and integrate it, please?

gholafox
>From 6b8fdd40b50bcfaada34ff87b849ff107566d784 Mon Sep 17 00:00:00 2001
From: gholafox <[email protected]>
Date: Fri, 29 Jun 2012 18:47:39 +0200
Subject: [PATCH] * Version bump

---
 source/xapps-extra/skype/FrugalBuild | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/source/xapps-extra/skype/FrugalBuild b/source/xapps-extra/skype/FrugalBuild
index 51a5356..971eddc 100644
--- a/source/xapps-extra/skype/FrugalBuild
+++ b/source/xapps-extra/skype/FrugalBuild
@@ -4,32 +4,34 @@
 USE_STATIC=${USE_STATIC:-"n"}
 
 pkgname=skype
-pkgver=2.2.0.35
-pkgrel=2
+pkgver=4.0
+extraver=0.7
+pkgrel=1
 pkgdesc="Skype will let you make free calls to your friends all over the world."
-url="http://skype.com";
+url="http://www.skype.com";
 rodepends=('libstdc++' 'alsa-lib')
 if ! Fuse $USE_STATIC; then
 	_static=""
 	[ "$CARCH" == "x86_64" ] || rodepends=("${rodepends[@]}" 'libsigc++2' 'qt4-qdbus' 'libqtgui' 'libqtnetwork' 'libxv' 'libxscrnsaver' 'corefonts')
-	sha1sums=('c3a93e3fd0f5ff30e65afe4632e04b05e9f453b1')
+	sha1sums=('d0667b1db373cff0a19106c8075b8787c9ee2d60')
 else
 	_static="_static"
-	sha1sums=('9fd37a0cfb28aa7ebe3b8ce4b8961f437e05924e')
+	sha1sums=('36e17ca52fa8df72196c792c879df51045be2630')
 fi
 groups=('xapps-extra')
 archs=('i686' 'x86_64')
-up2date="lynx -dump http://www.skype.com/intl/en/download/skype/linux/choose/ | grep Version | sed 's/.*n \(.*\).*/\1/'"
-source=(http://download.skype.com/linux/${pkgname}$_static-${pkgver}.tar.bz2)
+up2date="lynx -dump ${url}/intl/en/download/skype/linux/choose/ | grep Version | sed 's/.*n \(.*\).*/\1/'"
+source=(http://download.skype.com/linux/${pkgname}$_static-${pkgver}.${extraver}.tar.bz2)
 license="skype-eula"
 options=('nobuild' 'nostrip')
 _F_gnome_desktop=y
+_F_archive_name="${pkgname}$_static-${pkgver}.${extraver}"
 Finclude gnome-scriptlet
 
 build()
 {
+	Fcd $_F_archive_name
 	Fbuild_gnome_scriptlet
-	Fcd ${pkgname}$_static-${pkgver}
 	if [ "$CARCH" == "x86_64" ]; then
 		Fsed 'Exec=skype' 'Exec=fw32-run skype' ${pkgname}.desktop
 		Ffilerel /usr/share/applications/${pkgname}.desktop
@@ -40,7 +42,7 @@ build()
 	# Install dbus system conf file
 	Ffilerel /etc/dbus-1/system.d/${pkgname}.conf
 	# Install bin file
-	Fexerel /usr/bin/skype
+	Fexerel /usr/bin/${pkgname}
 	# Install desktop file
 	Ffilerel /usr/share/applications/${pkgname}.desktop
 	# Install icons files
-- 
1.7.11

_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel

Reply via email to