aboutsummaryrefslogtreecommitdiffstats
path: root/blender-plugin-vectex/PKGBUILD
blob: 22ebc5d5762d8e2bb2adf090aa21142f0d142af2 (plain) (blame)
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
# Contributer: N30N <archlinux@alunamation.com>

pkgname=blender-plugin-vectex
pkgver=0.9
pkgrel=1
pkgdesc="Vectex is a SVG vector texture plugin for Blender"
url="http://code.google.com/p/vectex/"
license="GPL"
arch=('i686' 'x86_64')
depends=('blender')
makedepends=()
source=(http://vectex.googlecode.com/files/vectex-${pkgver}-fix.tar.bz2 '64bit.patch')
md5sums=('e36937018056f072f35a8df3bb7574ad' '98ddd03b81bff9b2f923e8fd5e449b1b')

build() {
	cd $startdir/src/vectex-$pkgver

	if [ ${CARCH} == "x86_64" ]; then
		patch -p0 < $startdir/src/64bit.patch
	fi

	msg "Starting build process."
	make || return 1

	install -D -m755 vectex.so $startdir/pkg/usr/share/blender/plugins/texture/vectex.so
}