blob: 22440c08cf1fc14f6c5b24b2458c0685d4a3ee12 (
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
34
|
# Maintainer: jmcb <joelsgp@protonmail.com>
pkgname='blender-plugin-supertuxkart-git'
pkgver=r120.88ff5df
_blenderver='3.5'
pkgrel=1
pkgdesc="Custom scripts made to help in the creation of custom SuperTuxKart karts and tracks."
arch=('any')
url="https://github.com/supertuxkart/stk-blender"
license=('MIT')
depends=('blender'
'supertuxkart')
makedepends=('git')
checkdepends=()
optdepends=()
provides=("${pkgname%-git}"
'stk-blender')
conflicts=()
source=("${pkgname}::git+https://github.com/supertuxkart/stk-blender.git")
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
package() {
cd "$pkgname"
_dest="${pkgdir}/usr/share/blender/${_blenderver}/scripts/addons"
install -d "${_dest}"
cp -r -t "${_dest}" 'io_antarctica_scene' 'io_scene_spm'
}
|