You are not logged in.

#1 2009-04-28 18:33:50

Crooksey
Member
From: UK ~
Registered: 2006-08-14
Posts: 415
Website

Cant get skype working

After the package building correctly, I try and install it and get the error:

[root@t0w3r]$ pacman -U skype-2.0.0.72.tar.bz2 
loading package data...
error: missing package metadata in skype-2.0.0.72.tar.bz2
error: 'skype-2.0.0.72.tar.bz2': invalid or corrupted package

I have tried several verisons over a few months now and I cant get any to work, anyone care to shed some light?


Arch Linux since 2006
Python Web Developer + Sys Admin (Gentoo/BSD)

Offline

#2 2009-04-28 18:35:04

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Cant get skype working

how did you build it? you have i686 or x86_64?


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2009-04-28 18:39:33

Crooksey
Member
From: UK ~
Registered: 2006-08-14
Posts: 415
Website

Re: Cant get skype working

Yea arch64, used the standard pkgbuild..

# Contributor: Ambi <ak_ambi@op.pl>
# Contributor: Zerial <fernando@zerial.org>
# Contributor: Jaroslaw Swierczynski <swiergot@juvepoland.com>
# Contributor: dongiovanni

_pkgresourcename=skype
pkgname=bin32-skype
pkgver=2.0.0.72
pkgrel=5
pkgdesc="P2P software for high-quality voice communication"
url="http://www.skype.com/"
license=(custom)
arch=(x86_64)
provides=('skype')
source=(http://download.skype.com/linux/$_pkgresourcename-$pkgver.tar.bz2)
depends=('lib32-openssl' ' lib32-pcre' 'lib32-alsa-lib>=1.0.16' 'lib32-qt>=4.2.1' 'lib32-dbus-core' 'lib32-libxv' 'lib32-libxss' 'lib32-glib2' 'lib32-e2fsprogs' 'libv4l')
md5sums=('71fa47d788e73bcaf5b788be9236e97d')

build() {
  cd $startdir/src/${_pkgresourcename}-${pkgver}
  install -m 755 -d $startdir/pkg/usr/share/${_pkgresourcename}/{avatars,lang,sounds}
  install -m 644 avatars/* $startdir/pkg/usr/share/${_pkgresourcename}/avatars
  install -m 644 lang/* $startdir/pkg/usr/share/${_pkgresourcename}/lang
  install -m 644 sounds/* $startdir/pkg/usr/share/${_pkgresourcename}/sounds
  install -m 755 -D ${_pkgresourcename} ${startdir}/pkg/usr/bin/${_pkgresourcename}
  install -m 644 -D ${_pkgresourcename}.conf ${startdir}/pkg/etc/dbus-1/system.d/${_pkgresourcename}.conf
  install -m 644 -D icons/SkypeBlue_16x16.png ${startdir}/pkg/usr/share/icons/hicolor/16x16/${_pkgresourcename}.png
  install -m 644 -D icons/SkypeBlue_32x32.png ${startdir}/pkg/usr/share/icons/hicolor/32x32/${_pkgresourcename}.png
  install -m 644 -D icons/SkypeBlue_48x48.png ${startdir}/pkg/usr/share/icons/hicolor/48x48/${_pkgresourcename}.png
  install -m 644 -D icons/SkypeBlue_48x48.png ${startdir}/pkg/usr/share/pixmaps/${_pkgresourcename}.png
  install -m 644 -D ${_pkgresourcename}.desktop ${startdir}/pkg/usr/share/applications/${_pkgresourcename}.desktop
  install -m 644 -D LICENSE ${startdir}/pkg/usr/share/licenses/${_pkgresourcename}/LICENSE
}

And then just ran makepkg -c


Arch Linux since 2006
Python Web Developer + Sys Admin (Gentoo/BSD)

Offline

#4 2009-04-28 18:42:38

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Cant get skype working

very well. running makepkg will create bin32-skype-2.0.0.72-5-x86_64.pkg.tar.gz . that need to be pass as argument to pacman -U, not the original source arhive like you did.

pacman -U bin32-skype-2.0.0.72-5-x86_64.pkg.tar.gz

Last edited by wonder (2009-04-28 18:43:25)


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2009-04-28 18:48:59

Crooksey
Member
From: UK ~
Registered: 2006-08-14
Posts: 415
Website

Re: Cant get skype working

Doh!

Dunno why I was doing that, usually on AUR packages I only find there to be one file in the directory, so this has never been a problem, didnt think to look for another, my mistake!


Arch Linux since 2006
Python Web Developer + Sys Admin (Gentoo/BSD)

Offline

Board footer

Powered by FluxBB