SHOW:
|
|
- or go back to the newest paste.
1 | # $Id: PKGBUILD 79958 2012-11-15 03:14:52Z dwallace $ | |
2 | # Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com> | |
3 | # Contributor: K900 <k0009000@gmail.com> | |
4 | pkgname=steam | |
5 | pkgver=1.0.0.18 | |
6 | pkgrel=2 | |
7 | pkgdesc="Digital distribution client - open beta - bootstrap package" | |
8 | arch=("i686" "x86_64") | |
9 | url="http://steampowered.com/" | |
10 | license=('custom') | |
11 | depends=( | |
12 | 'bash' 'desktop-file-utils' 'hicolor-icon-theme' 'curl' | |
13 | 'dbus' 'freetype2' 'gdk-pixbuf2' 'ttf-liberation' | |
14 | ) | |
15 | if [[ "$CARCH" == "x86_64" ]]; then | |
16 | depends+=( | |
17 | 'lib32-sdl' 'lib32-libvorbis' 'lib32-alsa-lib' | |
18 | 'lib32-libgcrypt' 'lib32-gtk2' 'lib32-nss' 'lib32-openal' | |
19 | 'lib32-libpng12' 'lib32-libpulse' 'lib32-libcanberra' | |
20 | - | 'lib32-glu' 'lib32-flashplugin' |
20 | + | 'lib32-glu' |
21 | ) | |
22 | optdepends=( | |
23 | 'lib32-ati-dri: for open source ATI driver users' | |
24 | 'lib32-catalyst-utils: for AMD Catalyst users' | |
25 | 'lib32-intel-dri: for open source Intel driver users' | |
26 | 'lib32-nouveau-dri: for Nouveau users' | |
27 | 'lib32-nvidia-utils-bumblebee: for NVIDIA + Bumblebee users' | |
28 | 'lib32-nvidia-utils: for NVIDIA proprietary blob users' | |
29 | 'lib32-libappindicator: for tray icon' | |
30 | 'lib32-flashplugin: for flash support in the embedded browser' | |
31 | ) | |
32 | else | |
33 | depends+=( | |
34 | 'glu' 'libpng12' 'sdl' 'libpulse' 'alsa-lib' 'libvorbis' | |
35 | - | 'libgcrypt' 'nss' 'openal' 'gtk2' 'glu' 'flashplugin' |
35 | + | 'libgcrypt' 'nss' 'openal' 'gtk2' 'glu' |
36 | ) | |
37 | optdepends=( | |
38 | 'libappindicator: for tray icon' | |
39 | 'flashplugin: for flash support in the embedded browser' | |
40 | ) | |
41 | fi | |
42 | # 'libtheora' | |
43 | install=steam.install | |
44 | ||
45 | source=("http://repo.steampowered.com/steam/archive/precise/${pkgname}_${pkgver}_i386.deb" | |
46 | "flash-plugin-x86_64-fix.patch") | |
47 | md5sums=('5716affbbb8dcf466b2558f321e2b2ad' | |
48 | '268cbbdfbb700ab818d95d231837ced5') | |
49 | ||
50 | build() { | |
51 | cd "$srcdir" | |
52 | ||
53 | bsdtar xf "$srcdir/data.tar.gz" | |
54 | ||
55 | sed -i '/jockey-common/d' "$srcdir/usr/bin/steam" | |
56 | ||
57 | if [[ "$CARCH" == "x86_64" ]]; then | |
58 | patch -d ${srcdir}/usr/bin -i ${srcdir}/flash-plugin-x86_64-fix.patch | |
59 | fi | |
60 | } | |
61 | ||
62 | package() { | |
63 | ||
64 | cp -dpr --no-preserve=ownership "$srcdir/usr" "$pkgdir" | |
65 | # Install license | |
66 | install -Dm644 "$srcdir/usr/share/doc/steam/copyright" "$pkgdir/usr/share/licenses/steam/LICENSE" | |
67 | ||
68 | } | |
69 | #vim: set ft=PKGBUILD sw=2 ts=2 et |