contrib/skype/Pkgfile

45 lines
1.7 KiB
Plaintext
Raw Normal View History

2006-11-19 22:26:53 +01:00
# Description: P2P VoIP software which supports end-to-end encryption.
2013-02-14 11:57:06 +01:00
# URL: http://www.skype.com/intl/en/get-skype/on-your-computer/linux/
2008-03-26 03:45:31 +01:00
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
2007-12-12 11:15:56 +01:00
# Packager: sten, nick dot steeves at shaw dot ca
2013-02-17 08:17:43 +01:00
# Depends on: qt4-32 alsa-lib-32 xorg-libxscrnsaver-32 xorg-libxv-32
2006-11-14 00:13:35 +01:00
name=skype
2013-02-14 11:57:06 +01:00
version=4.1.0.20
2013-05-16 18:00:48 +02:00
release=3
source=(http://download.skype.com/linux/$name-$version.tar.bz2
http://ftp.gnome.org/pub/GNOME/sources/glib/2.34/glib-2.34.3.tar.xz)
2006-11-14 00:13:35 +01:00
build() {
# https://jira.skype.com/browse/SCL-977
cd glib-2.34.3
./configure --prefix=/usr \
--libdir=/usr/lib32 \
--mandir=/usr/man \
--with-pcre=system \
--with-runtime-libdir=../../lib32 \
--with-gio-module-dir=/lib32/gio/modules
make
2013-05-16 18:00:48 +02:00
install -D -m 0644 gobject/.libs/libgobject-2.0.so.0.3400.3 $PKG/usr/lib32/libgobject-2.0.so.0.3400.3
cd ../$name-$version
2013-02-14 11:57:06 +01:00
install -d $PKG/usr/share/skype/{avatars,lang,sounds}
install -D -m 0755 skype $PKG/usr/bin/skype-bin
2013-02-14 11:57:06 +01:00
install -m 0644 avatars/* $PKG/usr/share/skype/avatars
install -m 0644 lang/* $PKG/usr/share/skype/lang
install -m 0644 sounds/* $PKG/usr/share/skype/sounds
2007-12-12 11:15:56 +01:00
install -D -m 0644 icons/SkypeBlue_16x16.png $PKG/usr/share/icons/hicolor/16x16/apps/skype.png
install -D -m 0644 icons/SkypeBlue_32x32.png $PKG/usr/share/icons/hicolor/32x32/apps/skype.png
install -D -m 0644 icons/SkypeBlue_48x48.png $PKG/usr/share/icons/hicolor/48x48/apps/skype.png
install -D -m 0644 skype.desktop $PKG/usr/share/applications/skype.desktop
2013-02-14 11:57:06 +01:00
#install -D -m 0644 skype.conf $PKG/etc/dbus-1/system.d/skype.conf
cat << "__EOF__" > $PKG/usr/bin/skype
#!/bin/sh
2013-05-16 18:00:48 +02:00
LD_PRELOAD=/usr/lib32/libgobject-2.0.so.0.3400.3 skype-bin
__EOF__
chmod 0755 $PKG/usr/bin/skype
2006-11-14 00:13:35 +01:00
}