1 # Maintainer: Olli Laasonen <admin at laasonen dot net>
6 pkgdesc="Makes starting of srcds orangebox servers easier and faster."
7 url="http://aur.archlinux.org/packages.php?ID=38603"
8 install="srcds-launcher.install"
12 source=(srcds-launcher srcds-launcher-config srcds-launcher.install)
13 md5sums=('ffac15de067414db16e2cf56d592f790' '9f3fc78c71459aaa92519c33c3c3f4fe' 'e248aea5a0e5398e329d848b8ed201aa')
16 if [ -f $srcdir/$pkgname-$pkgver ]
18 echo "Deleting old build folder.."
19 rm -R $srcdir/$pkgname-$pkgver
22 echo "Preparing files.."
23 mkdir $srcdir/$pkgname-$pkgver
24 cd $srcdir/$pkgname-$pkgver
25 chmod +x $srcdir/srcds-launcher
26 chmod +x $srcdir/srcds-launcher-config
29 install -d $pkgdir/usr/bin
30 install -d $pkgdir/opt/srcds/
31 cp $srcdir/srcds-launcher $pkgdir/usr/bin/srcds-launcher
32 cp $srcdir/srcds-launcher-config $pkgdir/opt/srcds/srcds-launcher-config