summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e70ab73fb6d4106672a67caf59c71d6dc09b39b6 (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
29
30
31
32
# Maintainer: Huki <gk7huki@gmail.com>
# Contributor: Svitozar Cherepii <razotivs@gmail.com>

pkgname=rvgl-dcpack
pkgver=23.0501a1
pkgrel=1
pkgdesc="Dreamcast content pack for RVGL."
url='https://rvgl.org'
arch=('any')
license=('custom')
depends=('rvgl-bin')
makedepends=('git')
groups=('rvgl-basic' 'rvgl-original' 'rvgl-online')
source=("rvgl_dcpack"::git+https://gitlab.com/re-volt/rvgl-dcpack.git#tag=${pkgver})
sha256sums=('SKIP')

package() {
    cd "$srcdir/rvgl_dcpack"

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

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

    # Remove conflicting files shipped with game
    # rm levels/frontend/frontend.fob

    find * -type f -exec install -Dm644 {} "$pkgdir/opt/rvgl/{}" \;
}