summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 540b97ac6fd851ffc32ddbdf1ab6d1633ea1bedb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Kat Witten <turtlewit@live.com>
# Contributor: Alejandro Aibar <alexaib at outlook dot es>
pkgname=sprytile
pkgver=0.5.10
pkgrel=2
pkgdesc="A blender addon for creating tile based low spec 3D scenes."
arch=('any')
url="https://github.com/Sprytile/Sprytile"
license=('MIT')
depends=('blender')
source=("${pkgname}-${pkgver}"::"https://github.com/Sprytile/Sprytile/archive/v${pkgver}.tar.gz")
md5sums=('cc7a0ebb992dd3b61d4b19d8cc838ff0')

package() {
	cd "Sprytile-$pkgver"
	addons="$pkgdir/usr/share/blender/$(blender -v | head -n1 | cut -f2 -d ' ' | cut -f1,2 -d '.')/scripts/addons"

	install -dm755 "${addons}/SpryTile"
	install -d "${pkgdir}/usr/share/licenses/sprytile"

	install license.txt "${pkgdir}/usr/share/licenses/sprytile/LICENSE"
	cp -r ./ "${addons}/SpryTile/"
}