summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 696d43ac439f1d49325f2042bb04049e1e55952a (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
26
27
28
# Maintainer: Svitozar Cherepii <razotivs@gmail.com>
pkgname=rvgl-dcpack
pkgver=19.0819
pkgrel=1
pkgdesc="RVGL dreamcast content pack."
url='https://rvgl.re-volt.io'
arch=('any')
license=('custom')
depends=('rvgl-bin')
source=("$pkgname-$pkgver.zip::https://distribute.re-volt.io/packs/rvgl_dcpack.zip")
sha256sums=('84a7c8928f88d6295a4d55d144b1b69e32d2accea7801049713b9e16e825da11')

package() {
    # Enable dreamcast car selection box layout
    # for file in frontend.fin frontend.fob
    # do
    #     mv levels/frontend/custom/dc/$file levels/frontend/custom
    # done

    # Remove conflicting files shipped with game
    rm gfx/roof.bmp gfx/roof.bmq # levels/frontend/frontend.fob

    # Add BigVolt and BossVolt to default car selection box layout
    mv levels/frontend/frontend.fob levels/frontend/custom

    find cars gfx levels models wavs -type f -exec \
        install -Dm644 {} "$pkgdir/opt/rvgl/{}" \;
}