summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 09635fab9bd6022cfd5cf8ec73dc802dc962f6b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
# Contributor: DeedleFake <yisszev at beckforce dot com>
# Contributor: JJK
# Contributor: DilithiumNitrate

pkgname=srb2-data
pkgver=2.2.13
pkgver_1=v2213
pkgrel=1
pkgdesc="Data files for Sonic Robo Blast 2"
arch=('any')
license=('custom')
url='http://www.srb2.org'
optdepends=('srb2: "Sonic Robo Blast 2" game')
source=(
    "https://github.com/STJr/SRB2/releases/download/SRB2_release_${pkgver}/SRB2-${pkgver_1}-Full.zip"
)
sha256sums=('83b91a351135b63705e49daffa44e7ac3cf3e33b397f56ff347ebb71eda27d4a')

package() {
  install -d "$pkgdir"/usr/share/games/SRB2
  install -m644 models.dat {player,music}.dta {srb2,zones}.pk3 "$pkgdir"/usr/share/games/SRB2
  if test -f "patch.pk3"; then install -m644 patch.pk3 "$pkgdir"/usr/share/games/SRB2; fi
  cp -r models "$pkgdir"/usr/share/games/SRB2/models
}