updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / steamdedicatedserver / PKGBUILD
blob5fc256872f01118860d1e58804411ec573df32a2
1 # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
2 # Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
3 pkgname=steamdedicatedserver
4 pkgver=34
5 pkgrel=3
6 pkgdesc="Valve Steam Dedicated Server for Linux"
7 url="http://www.steampowered.com/v/index.php?area=getsteamnow"
8 arch=('i686' 'x86_64')
9 depends=('glibc')
10 [ "$CARCH" = "x86_64" ] && depends=('lib32-glibc')
11 optdepends=('screen: manage multiple servers conveniently')
12 install=steamdedicatedserver.install
13 source=(http://storefront.steampowered.com/download/hldsupdatetool.bin \
14         steamdedicatedserver.install helperscripts.tar.gz)
15 license=('freeware')
16 md5sums=('3d92b54b74387e3881b35b92d09d8e16'
17          '7a173c56f066ffbe11f9fffabae64128' 
18          'cb61ac35b710c0e7f6adc12c10750625')
20 build() {
21     cd ${srcdir}
22     chmod 755 hldsupdatetool.bin || exit 1
23     # You agree this since you want this.
24     echo yes | ./hldsupdatetool.bin || exit 1
25         
26     install -d -m755 ${pkgdir}/opt/steamdedsrv/
27     install -D -m755 *.sh ${pkgdir}/opt/steamdedsrv/
28     install -D -m755 ./steam ${pkgdir}/opt/steamdedsrv/steam
29     install -D -m444 ./readme.txt ${pkgdir}/opt/steamdedsrv/readme.txt