1 # Contributor: wido < widomaker2k7@gmail.com >
8 pkgdesc="a classic top down shooter, rife with explosions and things to explode, with a distinct visual style."
10 url="http://www.steel-storm.com/"
12 depends=('curl' 'sdl_image' 'sdl_ttf' 'sdl_mixer' 'libvorbis' 'libogg' 'libmodplug' 'freetype2' 'libjpeg6')
13 provides=('steelstorm')
14 replaces=('steelstorm-beta')
16 source=(http://download2.steel-storm.com/${pkgname}-${episode}-v${_build}.tar.gz
19 steelstorm-dedicated.desktop
20 steelstorm-dedicated.sh)
21 md5sums=('90f2369812e4c5025c711630fc5c87de'
22 '32005427334b8888f175165f6a928c6b'
23 '73d596ac67fb34ebc28df1f89b789dc2'
24 '37765811bd5cc7349cee57623a1d7797'
25 '565ec1b72aff78bd2e311c289b65e2d5')
28 cd ${srcdir}/${pkgname}
29 mkdir -p ${pkgdir}/opt/
31 cp -r ${srcdir}/${pkgname} ${pkgdir}/opt/
34 #cp -r ${srcdir}/gamedata ${pkgdir}/opt/${_pkgname}/
36 if [ "${CARCH}" = "x86_64" ]; then
38 rm ${pkgdir}/opt/${pkgname}/${pkgname} ${pkgdir}/opt/${pkgname}/${pkgname}-dedicated
39 install -Dm 755 ${pkgdir}/opt/${pkgname}/${pkgname}64 ${pkgdir}/opt/${pkgname}/${pkgname}
40 install -Dm 755 ${pkgdir}/opt/${pkgname}/${pkgname}64-dedicated ${pkgdir}/opt/${pkgname}/${pkgname}-dedicated
42 elif [ "${CARCH}" = "i686" ]; then
44 rm ${pkgdir}/opt/${pkgname}/${pkgname}64 ${pkgdir}/opt/${pkgname}/${pkgname}64-dedicated
46 echo "If you're not running x86_64 or i686, how are you running Arch?"
50 # Install .desktop, icon, license and bin
51 install -Dm 644 ${srcdir}/steelstorm.desktop ${pkgdir}/usr/share/applications/steelstorm.desktop
52 install -Dm 755 ${srcdir}/steelstorm.sh $pkgdir/usr/bin/steelstorm
53 install -Dm 644 ${srcdir}/steelstorm-dedicated.desktop ${pkgdir}/usr/share/applications/steelstorm-dedicated.desktop
54 install -Dm 755 ${srcdir}/steelstorm-dedicated.sh $pkgdir/usr/bin/steelstorm-dedicated
56 install -Dm 644 ${pkgdir}/opt/${pkgname}/icons/steelstorm_icon_64x64.png ${pkgdir}/usr/share/pixmaps/steelstorm.png
57 install -Dm 644 ${pkgdir}/opt/${pkgname}/license.txt ${pkgdir}/usr/share/licenses/license.txt