updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / srb2-bin / PKGBUILD
blob3956c04f40024eade24e950e6f50dafd320628d7
1 # Maintainer: DeedleFake <yisszev at beckforce dot com>
3 pkgname=srb2-bin
4 pkgver=2.0.6
5 pkgrel=5
6 pkgdesc="A 3-D Sonic game based off of Doom Legacy."
7 arch=('i686' 'x86_64')
8 license=('GPL')
9 url='http://www.srb2.org'
10 depends=('sdl_mixer' 'libpng12' 'srb2-data=2.0.6')
11 provides=("srb2")
12 conflicts=("bin32-srb2" "srb2")
14 if [[ "$CARCH" == "x86_64" ]]; then
15         source=(http://alam.srb2.org/SRB2_trunk/Linux64/amd64/Release/lsdlsrb2
16           srb2.bashcomp
17           SRB2.desktop
18           SRB2-OpenGL.desktop)
19 else
20   source=(http://alam.srb2.org/SRB2_trunk/Linux/Release/lsdlsrb2
21           srb2.bashcomp
22           SRB2.desktop
23           SRB2-OpenGL.desktop)
26 if [[ "$CARCH" == "x86_64" ]]; then
27   md5sums=('3239dd3e25a7ea1b8cf7ec39aa94991a'
28            'f8f020fcb255da3f6afb414d67a421c2'
29            '7388d3393eba404df482bc01da618fed'
30            '4ddefbaee0bb25fcb485e0f95e45a115')
31 else
32   md5sums=('1fbc471376456f177b56eb37b5a5e614'
33            'f8f020fcb255da3f6afb414d67a421c2'
34            '7388d3393eba404df482bc01da618fed'
35            '4ddefbaee0bb25fcb485e0f95e45a115')
38 package() {
39   cd "$srcdir"
41   install -m 755 -D lsdlsrb2 "$pkgdir/usr/bin/srb2"
43   install -m 644 -D SRB2.desktop "$pkgdir/usr/share/applications/SRB2.desktop"
44   install -m 644 -D SRB2-OpenGL.desktop "$pkgdir/usr/share/applications/SRB2-OpenGL.desktop"
45   install -m 644 -D srb2.bashcomp "$pkgdir/etc/bash_completion.d/srb2"
48 # vim:ts=2 sw=2 et