blob: 48f3e13cdea97375a808ebf3f0b46176826138b0 (
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
|
# Maintainer: jmcb <joelsgp@protonmail.com>
pkgname='blender-plugin-sketchfab'
pkgver='1.6.0'
# replace . with -
_name="sketchfab-plugin-${pkgver//./-}"
pkgrel=2
pkgdesc="Directly import and export models from and to Sketchfab in Blender"
arch=('any')
url="https://github.com/sketchfab/blender-plugin"
license=('Apache')
depends=('blender')
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
source=("https://github.com/sketchfab/blender-plugin/releases/download/${pkgver}/${_name}.zip")
sha256sums=('79c9290c608308c27507d7bd5f96f8d7c9bbf5ce8f3ce73ec1793dd6661f36f7')
package() {
_blenderver=$(blender --version | grep -Po 'Blender \K[0-9].[0-9]+')
_dest="${pkgdir}/usr/share/blender/${_blenderver}/scripts/addons"
install -d "${_dest}"
bsdtar --cd "${_dest}" -xf "${_name}.zip"
}
|