45 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			45 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Bash
		
	
	
	
	
	
| name='steamcmd'
 | |
| version='20180105'
 | |
| release='1'
 | |
| desc='Steam Command Line Tools'
 | |
| desc_ru='Утилиты командной строки Steam'
 | |
| homepage='http://developer.valvesoftware.com/wiki/SteamCMD'
 | |
| maintainer='Evgeny Khramov <xpamych@yandex.ru>'
 | |
| maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
 | |
| architectures=('amd64' '386')
 | |
| license=('custom')
 | |
| provides=('steamcmd' 'steamerrorreporter')
 | |
| conflicts=('steamcmd' 'steamerrorreporter')
 | |
| 
 | |
| deps=('libgcc')
 | |
| 
 | |
| deps_alt=('libgcc1')
 | |
| deps_arch=('gcc-libs')
 | |
| deps_debian=('libgcc-s1')
 | |
| deps_fedora=("${deps[@]}")
 | |
| deps_redos=("${deps_fedora[@]}")
 | |
| deps_rhel=("${deps_fedora[@]}")
 | |
| deps_rosa=("${deps_fedora[@]}")
 | |
| deps_alpine=('libgcc')
 | |
| 
 | |
| sources=("https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz")
 | |
| checksums=('cebf0046bfd08cf45da6bc094ae47aa39ebf4155e5ede41373b579b8f1071e7c')
 | |
| 
 | |
| prepare() {
 | |
| 	cd "${srcdir}"
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	install -Dm755 "${scriptdir}/steamcmd" "${pkgdir}/usr/bin/steamcmd"
 | |
| 	install -Dm755 "${srcdir}/steamcmd.sh" "${pkgdir}/usr/share/steamcmd/steamcmd.sh"
 | |
| 	install -Dm755 "${srcdir}/linux32/crashhandler.so" "${pkgdir}/usr/share/steamcmd/linux32/crashhandler.so"
 | |
| 	install -Dm755 "${srcdir}/linux32/libstdc++.so.6" "${pkgdir}/usr/share/steamcmd/linux32/libstdc++.so.6"
 | |
| 	install -Dm755 "${srcdir}/linux32/steamcmd" "${pkgdir}/usr/share/steamcmd/linux32/steamcmd"
 | |
| 	install -Dm755 "${srcdir}/linux32/steamerrorreporter" "${pkgdir}/usr/share/steamcmd/linux32/steamerrorreporter"
 | |
| }
 | |
| 
 | |
| files() {
 | |
|     files-find-bin
 | |
|     files-find-share
 | |
| }
 |