[arch-commits] Commit in steam/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Sun Apr 24 15:12:11 UTC 2016
Date: Sunday, April 24, 2016 @ 17:12:11
Author: anthraxx
Revision: 171694
upgpkg: steam 1.0.0.52-1
Modified:
steam/trunk/PKGBUILD
----------+
PKGBUILD | 67 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 34 insertions(+), 33 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-04-24 13:14:55 UTC (rev 171693)
+++ PKGBUILD 2016-04-24 15:12:11 UTC (rev 171694)
@@ -1,49 +1,50 @@
-# $Id$
-# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
# Contributor: K900 <k0009000 at gmail.com>
+
pkgname=steam
-pkgver=1.0.0.51
+pkgver=1.0.0.52
pkgrel=1
-pkgdesc="Digital distribution client bootstrap package"
-arch=("i686" "x86_64")
-url="http://steampowered.com/"
+pkgdesc="Valve's digital software delivery system"
+url='http://steampowered.com/'
+arch=('i686' 'x86_64')
license=('custom')
-install=steam.install
-source=("http://repo.steampowered.com/$pkgname/pool/$pkgname/s/$pkgname/${pkgname}_$pkgver.tar.gz"
- 'alsa_sdl_audiodriver.patch'
- '80-steam-controller-permission.rules')
-md5sums=('eb4eeb7b7088f7434d65a09c768f266b'
- 'ac0e03d70f1101331598b2b32ed9bac3'
- 'aa9b2c4bff29841764ca11ac8fb6446e')
-if [[ "$CARCH" == "x86_64" ]]; then
+depends=(
+ 'bash' 'desktop-file-utils' 'hicolor-icon-theme' 'curl'
+ 'dbus' 'freetype2' 'gdk-pixbuf2' 'ttf-font' 'zenity'
+)
+if [[ "${CARCH}" == "x86_64" ]]; then
+ depends+=('lib32-libgl' 'lib32-gcc-libs' 'lib32-libx11' 'lib32-libxss')
optdepends=(
- 'lib32-mesa-dri: for open source driver users'
- 'lib32-catalyst-utils: for AMD Catalyst users'
- 'lib32-nvidia-utils: for NVIDIA proprietary blob users'
- 'lib32-alsa-plugins: for pulseaudio on some games'
+ 'lib32-mesa-dri: for open source driver users'
+ 'lib32-catalyst-utils: for AMD Catalyst users'
+ 'lib32-nvidia-utils: for NVIDIA proprietary blob users'
+ 'lib32-alsa-plugins: for pulseaudio on some games'
)
fi
+install=steam.install
+source=(http://repo.steampowered.com/${pkgname}/pool/${pkgname}/s/${pkgname}/${pkgname}_${pkgver}.tar.gz
+ alsa_sdl_audiodriver.patch
+ 80-steam-controller-permission.rules)
+sha512sums=('eefff7b2d223305fa8ff8b2419f9806e21784044c2832b42c5583bac4b9391d66444903e2753153842a85eab196418ca47d9b4b3a1daaf839e1eb15edfff891e'
+ '5c6117d86cb95071246434851bae3bf7d1c2174b0c8744e33e9c98ccc22efae0c956e1d7e3969c572aa96259b1b8164992d265541bce49a24daa12555d825fd5'
+ 'f2b45659524a23e97ac271629ae525823f3d613e94f3fb72dfb67a21b7edfda6d07bff623187582c6d0888501e98536d114ccb27d9a7d7065c51fc11f7d8b18f')
prepare() {
- patch -d "$pkgname" -Np1 -i "$srcdir/alsa_sdl_audiodriver.patch"
+ patch -d "${pkgname}" -Np1 -i \
+ "${srcdir}/alsa_sdl_audiodriver.patch"
}
package() {
- depends=(
- 'bash' 'desktop-file-utils' 'hicolor-icon-theme' 'curl'
- 'dbus' 'freetype2' 'gdk-pixbuf2' 'ttf-font' 'zenity'
- )
- if [[ "$CARCH" == x86_64 ]]; then
- depends+=(lib32-libgl lib32-gcc-libs lib32-libx11 lib32-libxss)
- fi
+ make -C "${pkgname}" DESTDIR="${pkgdir}" install
- # Install license
- make -C "$pkgname" DESTDIR="$pkgdir" install
-
- install -Dm644 "$pkgdir/usr/share/doc/steam/steam_install_agreement.txt" "$pkgdir/usr/share/licenses/steam/LICENSE"
+ install -Dm 644 "${pkgdir}/usr/share/doc/steam/steam_install_agreement.txt" \
+ "${pkgdir}/usr/share/licenses/steam/LICENSE"
# blank steamdeps because apt-get
- ln -sf /bin/true "$pkgdir/usr/bin/steamdeps"
+ ln -sf /usr/bin/true "${pkgdir}/usr/bin/steamdeps"
- install -Dm644 $srcdir/80-steam-controller-permission.rules $pkgdir/usr/lib/udev/rules.d/80-steam-controller-permission.rules
+ install -Dm 644 "${srcdir}/80-steam-controller-permission.rules" \
+ "${pkgdir}/usr/lib/udev/rules.d/80-steam-controller-permission.rules"
}
-#vim: set ft=PKGBUILD sw=2 ts=2 et
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list