Adding skype & zsnes

This commit is contained in:
abveritas 2010-11-24 21:35:05 +00:00
parent bdac7bc5b7
commit 5da5f780cc
3 changed files with 74 additions and 0 deletions

43
bin32-skype/PKGBUILD Normal file
View File

@ -0,0 +1,43 @@
# Maintainer: Malte Rabenseifner <malte@zearan.de>
# Contributor: speed145a/Jonny James <speed145a@aol.com>
# Contributor: Ambi <ak_ambi@op.pl>
# Contributor: Zerial <fernando@zerial.org>
# Contributor: Jaroslaw Swierczynski <swiergot@juvepoland.com>
# Contributor: dongiovanni
pkgname=bin32-skype
_pkgname32=skype
pkgver=2.1.0.81
pkgrel=5
pkgdesc="P2P software for high-quality voice communication"
arch=('x86_64')
url="http://www.skype.com/"
license=('custom')
depends=('lib32-alsa-lib' 'lib32-dbus-core' 'lib32-e2fsprogs' 'lib32-fontconfig' 'lib32-freetype2' 'lib32-glib2' 'lib32-libxi' 'lib32-libxrandr' 'lib32-libxrender' 'lib32-libxss' 'lib32-libxv' 'lib32-openssl' 'lib32-pcre' 'lib32-qt')
optdepends=('lib32-libv4l: support for webcams using the GSPCA kernel' 'lib32-libcanberra: XDG sound support')
provides=('skype')
conflicts=('bin32-skype-staticqt')
options=(!strip)
install=skype.install
source=(http://www.skype.com/go/getskype-linux-beta-dynamic/$_pkgname32-$pkgver.tar.bz2)
md5sums=('5411dcf89e33f53df5fbe5958bbaef54')
build() {
cd "$srcdir/$_pkgname32-$pkgver"
install -dm 755 "$pkgdir/usr/share/$_pkgname32/avatars" || return 1
install -dm 755 "$pkgdir/usr/share/$_pkgname32/lang" || return 1
install -dm 755 "$pkgdir/usr/share/$_pkgname32/sounds" || return 1
install -m 644 avatars/* "$pkgdir/usr/share/$_pkgname32/avatars" || return 1
install -m 644 lang/* "$pkgdir/usr/share/$_pkgname32/lang" || return 1
install -m 644 sounds/* "$pkgdir/usr/share/$_pkgname32/sounds" || return 1
install -Dm 755 "$_pkgname32" "$pkgdir/usr/bin/$_pkgname32" || return 1
install -Dm 644 "$_pkgname32.conf" "$pkgdir/etc/dbus-1/system.d/$_pkgname32.conf" || return 1
install -Dm 644 icons/SkypeBlue_16x16.png "$pkgdir/usr/share/icons/hicolor/16x16/$_pkgname32.png" || return 1
install -Dm 644 icons/SkypeBlue_32x32.png "$pkgdir/usr/share/icons/hicolor/32x32/$_pkgname32.png" || return 1
install -Dm 644 icons/SkypeBlue_48x48.png "$pkgdir/usr/share/icons/hicolor/48x48/$_pkgname32.png" || return 1
install -Dm 644 icons/SkypeBlue_48x48.png "$pkgdir/usr/share/pixmaps/$_pkgname32.png" || return 1
install -Dm 644 "$_pkgname32.desktop" "$pkgdir/usr/share/applications/$_pkgname32.desktop" || return 1
install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$_pkgname32/LICENSE" || return 1
}

View File

@ -0,0 +1,8 @@
post_install() {
echo " ==> If you have problems with GSPCA webcams or avatars, check out the wiki at"
echo " ==> http://wiki.archlinux.org/index.php/Skype#Problems"
}
post_upgrade() {
post_install
}

23
bin32-zsnes/PKGBUILD Normal file
View File

@ -0,0 +1,23 @@
# Maintainer: Arvid Norlander <anmaster A_T tele2 d_o_t (ccTLD for Sweden, which is se)>
# Contributor: Intrepid, edited from Rabyte's PKGBUILD with code from anykey
pkgname=zsnes
pkgver=1.51
pkgrel=7
pkgdesc="A Super Nintendo emulator"
arch=('x86_64')
url="http://www.zsnes.com/"
license=('GPL')
depends=('lib32-libgl' 'lib32-libpng>=1.4.0' 'lib32-sdl>=1.2' 'lib32-ncurses' 'lib32-libxdamage' 'lib32-gcc-libs')
conflicts=('zsnes' 'zsnes-wip')
source=(ftp://ftp.archlinux.org/community/os/i686/${pkgname/bin32-/}-${pkgver}-${pkgrel}-i686.pkg.tar.gz)
md5sums=('19461d0df9b67051869a9f683fbb8dc5')
sha256sums=('44007bb2678e8958554e4b1255f4660b2a1def137da2aea918569630b46ee7d4')
build() {
mkdir -p $startdir/pkg/opt/lib32/usr
cp -R $startdir/src/usr/* $startdir/pkg/opt/lib32/usr
mkdir $startdir/pkg/usr
mkdir $startdir/pkg/usr/bin
ln -s /opt/lib32/usr/bin/zsnes $startdir/pkg/usr/bin
}