You are not logged in.

#1 2011-04-09 20:45:23

tlvb
Member
From: Sweden
Registered: 2008-10-06
Posts: 297
Website

skype 2.2beta PKGBUILD

use together with the i686 debian package you can get here
(they use redirection trickery so I cannot put the url directly into the pkgbuild)
This is an i686 build only but I guess that x86_64 conversion would just be a question of changing the arch and the file+checksum.
Comments are of course welcome. I am already aware of the long lines, but when I tried breaking the worst offender with \+newline I started getting directories
named {etc and so on...

pkgname=skype-debian
pkgver=2.2beta
pkgrel=1
pkgdesc='skype audio/video chat software BETA'
arch=(i686)
url='http://www.skype.com'
license=('custom')
groups=()
depends=(libxss qt gcc-libs libx11)
provides=('skype=2.2beta')
conflicts=('skype' 'skype-oss' 'skype-staticqt')
source=('skype-debian_2.2.0.25-1_i386.deb')
md5sums=('0754ee663fbf0e20702ea8710a31c2d5')

build() {
    cd $srcdir
    ar p skype-debian_2.2.0.25-1_i386.deb data.tar.gz | tar xz
    ar p skype-debian_2.2.0.25-1_i386.deb control.tar.gz | tar xz ./md5sums
    md5sum -c md5sums
    mkdir -p $srcdir/usr/share/licenses/$pkgname
    mv $srcdir/usr/share/doc/skype/copyright $srcdir/usr/share/licenses/$pkgname/
}

package() {
    install -dm755 $pkgdir/{etc/dbus-1/system.d,usr/{bin,share/{applications,doc/skype,icons,licenses/$pkgname,pixmaps,skype/{avatars,lang,sounds}}}}
    for _directory in {etc/dbus-1/system.d,usr/share/{applications,doc/skype,icons,licenses/$pkgname,pixmaps,skype/{avatars,lang,sounds}}}
    do
        install -m644 $srcdir/$_directory/* $pkgdir/$_directory/
    done
    install -m755 $srcdir/usr/bin/* $pkgdir/usr/bin/
}

Last edited by tlvb (2011-04-09 20:47:45)


I need a sorted list of all random numbers, so that I can retrieve a suitable one later with a binary search instead of having to iterate through the generation process every time.

Offline

#2 2011-04-09 20:49:19

Dogmeat
Member
From: Slovak Republic
Registered: 2009-02-24
Posts: 193

Re: skype 2.2beta PKGBUILD

What is difference between this and skype 2.2.0.25-1 in community / multilib repo?

Offline

#3 2011-04-09 21:00:15

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

Re: skype 2.2beta PKGBUILD

none


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

Offline

#4 2011-04-09 21:02:35

tlvb
Member
From: Sweden
Registered: 2008-10-06
Posts: 297
Website

Re: skype 2.2beta PKGBUILD

I was not aware that that package existed which is why I created this, so they are the same
...basically; closer inspection of the community/multilib package reveals that it is built on the
ubuntu package from skype while this is built on the debian package, the difference should
be negligble, but the md5sums for the binaries are different for some reason.

But this pkgbuild may be archived under unintentional duplicated effort...

Sorry for taking your time in vain, but at least I got some package creating exercise out of it (:

Last edited by tlvb (2011-04-09 21:06:37)


I need a sorted list of all random numbers, so that I can retrieve a suitable one later with a binary search instead of having to iterate through the generation process every time.

Offline

Board footer

Powered by FluxBB