Package Details: skypeforlinux 5.3.0.1-1

Git Clone URL: https://aur.archlinux.org/skypeforlinux.git (read-only)
Package Base: skypeforlinux
Description: Skype for Linux WebRTC Beta
Upstream URL: https://www.skype.com/
Licenses: custom
Submitter: City-busz
Maintainer: City-busz
Last Packager: City-busz
Votes: 86
Popularity: 7.211268
First Submitted: 2016-07-28 00:47
Last Updated: 2017-06-20 17:42

Pinned Comments

City-busz commented on 2016-07-28 01:54

Differences from the skypeforlinux-bin package:
- Use system Electron package rather than bundled one
- Rebuild Node.js modules from sources
- Support i686 architecture

Latest Comments

hobarrera commented on 2017-08-09 16:38

I've requested this be disowned, so somebody else can pick it up.

PhotonX commented on 2017-08-09 15:38

Any news here? The package is marked out of date for three weeks (and probably has been actually out of date even longer)...

surefire commented on 2017-07-23 06:20

5.3.0.1 => 5.4.0.1
sed is not needed

=======BEGIN======
diff --git a/PKGBUILD b/PKGBUILD
index cd166dd..361a111 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
pkgname=skypeforlinux
-pkgver=5.3.0.1
+pkgver=5.4.0.1
pkgrel=1
pkgdesc="Skype for Linux WebRTC Beta"
arch=(x86_64 i686)
@@ -9,24 +9,22 @@ depends=(electron libgnome-keyring)
makedepends=(asar npm python2)
source=(https://repo.skype.com/deb/pool/main/s/$pkgname/${pkgname}_${pkgver}_amd64.deb
$pkgname.sh)
-sha256sums=('3fdb61292cfdeef42ddb473d019884a4a8c5798f871793086f5edb6fb14d4e23'
- '0aca67c5c2cd1be1e7b7a2d2f126cdf0310f8a85985c1aba31540fcc2892eafa')
+sha256sums=('1f31c0e9379f680f2ae2b4db3789e936627459fe0677306895a7fa096c7db2c5'
+ 'bd82d1b2d450c26eccbcd47dc40fdb17f6f31b5ca48a3f23b4bc229b9b51b49e')

prepare() {
tar -xf data.tar.xz
asar extract usr/share/skypeforlinux/resources/app.asar skypeforlinux
- mv skypeforlinux/node_modules/skype-electron-wrapper .
+
+ tar cf skype-electron-wrapper.tar -C skypeforlinux/node_modules skype-electron-wrapper
rm -r skypeforlinux/node_modules/*
- sed -i '13i\"dependencies": {"skype-electron-wrapper": "*", "debug": "2.4"},' skypeforlinux/package.json
- sed -i 's|\("keytar": \).*|\1"^3.0.2",|' skype-electron-wrapper/package.json
}

build() {
- mv skype-electron-wrapper skypeforlinux/node_modules
cd $pkgname
export npm_config_target=$(</usr/lib/electron/version)
export npm_config_disturl=https://atom.io/download/atom-shell
- HOME="$srcdir/.electron-gyp" npm install --production
+ HOME="$srcdir/.electron-gyp" npm install --production --no-package-lock --no-save ../skype-electron-wrapper.tar debug@2.4
}

package() {
========END=========

plettich commented on 2017-07-20 23:40

Another Patch.
Basically what @Zeth did with an update to the current skypeforlinux@5.4.0.1
---------------8<-------------------------
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
pkgname=skypeforlinux
-pkgver=5.3.0.1
+pkgver=5.4.0.1
pkgrel=1
pkgdesc="Skype for Linux WebRTC Beta"
arch=(x86_64 i686)
@@ -9,7 +9,7 @@ depends=(electron libgnome-keyring)
makedepends=(asar npm python2)
source=(https://repo.skype.com/deb/pool/main/s/$pkgname/${pkgname}_${pkgver}_amd64.deb
$pkgname.sh)
-sha256sums=('3fdb61292cfdeef42ddb473d019884a4a8c5798f871793086f5edb6fb14d4e23'
+sha256sums=('1f31c0e9379f680f2ae2b4db3789e936627459fe0677306895a7fa096c7db2c5'
'0aca67c5c2cd1be1e7b7a2d2f126cdf0310f8a85985c1aba31540fcc2892eafa')

prepare() {
@@ -17,12 +17,12 @@ prepare() {
asar extract usr/share/skypeforlinux/resources/app.asar skypeforlinux
mv skypeforlinux/node_modules/skype-electron-wrapper .
rm -r skypeforlinux/node_modules/*
- sed -i '13i\"dependencies": {"skype-electron-wrapper": "*", "debug": "2.4"},' skypeforlinux/package.json
+ sed -i '13i\"dependencies": {"skype-electron-wrapper": "file:./skype-electron-wrapper.tgz", "debug": "2.4"},' skypeforlinux/package.json
sed -i 's|\("keytar": \).*|\1"^3.0.2",|' skype-electron-wrapper/package.json
}

build() {
- mv skype-electron-wrapper skypeforlinux/node_modules
+ tar czf $pkgname/skype-electron-wrapper.tgz skype-electron-wrapper/
cd $pkgname
export npm_config_target=$(</usr/lib/electron/version)
export npm_config_disturl=https://atom.io/download/atom-shell
---------------8<-------------------------

gyscos commented on 2017-07-12 15:15

When trying to build, I get:

npm ERR! code E404
npm ERR! 404 Not Found: skype-electron-wrapper@*

npm ERR! A complete log of this run can be found in:
npm ERR! /tmp/yaourt-tmp-user/aur-skypeforlinux/src/.electron-gyp/.npm/_logs/2017-07-12T15_14_03_500Z-debug.log

Zeth commented on 2017-07-03 19:52

Maybe it is due to the new NPM version.
Anyway I found a way to repair the package:

--- a/PKGBUILD 2017-07-03 21:46:54.319973543 +0200
+++ b/PKGBUILD 2017-07-03 21:48:55.181846665 +0200
@@ -18,15 +18,16 @@
mv skypeforlinux/node_modules/skype-electron-wrapper .
rm -r skypeforlinux/node_modules/*
sed -i '13i\"dependencies": {"skype-electron-wrapper": "*", "debug": "2.4"},' skypeforlinux/package.json
- sed -i 's|\("keytar": \).*|\1"^3.0.2",|' skype-electron-wrapper/package.json
}

build() {
- mv skype-electron-wrapper skypeforlinux/node_modules
cd $pkgname
export npm_config_target=$(</usr/lib/electron/version)
export npm_config_disturl=https://atom.io/download/atom-shell
- HOME="$srcdir/.electron-gyp" npm install --production
+ HOME="$srcdir/.electron-gyp" npm install ../skype-electron-wrapper
+ HOME="$srcdir/.electron-gyp" npm install debug
+ rm node_modules/skype-electron-wrapper
+ mv ../skype-electron-wrapper node_modules/
}

package() {
@@ -55,4 +56,3 @@
-or -name "src" -prune -exec rm -r '{}' \; \
-or -name "test" -prune -exec rm -r '{}' \;
}
-

This is how the two functions look like after the patch is applied:
prepare() {
tar -xf data.tar.xz
asar extract usr/share/skypeforlinux/resources/app.asar skypeforlinux
mv skypeforlinux/node_modules/skype-electron-wrapper .
rm -r skypeforlinux/node_modules/*
sed -i '13i\"dependencies": {"skype-electron-wrapper": "*", "debug": "2.4"},' skypeforlinux/package.json
}

build() {
cd $pkgname
export npm_config_target=$(</usr/lib/electron/version)
export npm_config_disturl=https://atom.io/download/atom-shell
HOME="$srcdir/.electron-gyp" npm install ../skype-electron-wrapper
HOME="$srcdir/.electron-gyp" npm install debug
rm node_modules/skype-electron-wrapper
mv ../skype-electron-wrapper node_modules
}

wooptoo commented on 2017-06-22 11:05

Failing with:

==> Making package: skypeforlinux 5.3.0.1-1 (Thu 22 Jun 12:04:36 BST 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found skypeforlinux_5.3.0.1_amd64.deb
-> Found skypeforlinux.sh
==> Validating source files with sha256sums...
skypeforlinux_5.3.0.1_amd64.deb ... Passed
skypeforlinux.sh ... Passed
==> Extracting sources...
-> Extracting skypeforlinux_5.3.0.1_amd64.deb with bsdtar
==> Starting prepare()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
npm ERR! code E404
npm ERR! 404 Not Found: skype-electron-wrapper@*

npm ERR! A complete log of this run can be found in:
npm ERR! /home/radu/packages/skypeforlinux/src/.electron-gyp/.npm/_logs/2017-06-22T11_04_42_568Z-debug.log
==> ERROR: A failure occurred in build().
Aborting...

graphicmist commented on 2017-06-15 07:31

-> Downloading skypeforlinux_5.1.0.1_amd64.deb...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404 Not Found
==> ERROR: Failure while downloading https://repo.skype.com/deb/pool/main/s/skypeforlinux/skypeforlinux_5.1.0.1_amd64.deb
Aborting...
==> ERROR: Makepkg was unable to build skypeforlinux.

CommodoreCrunch commented on 2017-06-11 08:39

@enihcam: Change the pkgver to 5.3.0.1 and the first sha256sum to 3fdb61292cfdeef42ddb473d019884a4a8c5798f871793086f5edb6fb14d4e23

Then it will build.

enihcam commented on 2017-06-11 08:35

Can someone fix the 404 error?

All comments