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

pkgname=rvgl-io-skins
pkgver=21.0308
pkgrel=2
pkgdesc="Additional skins for RVGL default and community cars."
url='https://re-volt.io/downloads/packs'
arch=('any')
license=('custom')
depends=('rvgl-bin')
optdepends=('rvgl-io-cars: additional cars for official events')
makedepends=('git')
conflicts=('rvgl-skins')
replaces=('rvgl-skins')
groups=('rvgl-community')
source=("rvgl_io_skins"::git+https://gitlab.com/re-volt/rvio/skins.git#tag=${pkgver})
sha256sums=('SKIP')

package() {
    cd "$srcdir/rvgl_io_skins"

    # Remove conflicting files present in cars pack
    rm cars/camboldr/carspeedo.bmp
    rm cars/nrf_outlaw/car3.bmp
    rm cars/nrf_outlaw/car4.bmp
    rm cars/xm250/cartheforce.bmp
    rm cars/xm250/carneon.bmp
    rm cars/xm250/car10.bmp
    rm cars/xm250/carbgs.bmp

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