aboutsummaryrefslogtreecommitdiffstats
path: root/blender-plugin-vectex/PKGBUILD
blob: 41e8b665480a2a7328f764c2c759ec34e4c2dec5 (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
27
28
29
30
# Maintainer: Mattias Andrée <`base64 -d`(bWF0dGlhcy5hbmRyZWU)@protonmail.com>
pkgname=blender-plugin-vectex
pkgver=0.9
pkgrel=3
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=("https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/vectex/vectex-${pkgver}-fix.tar.bz2" '64bit.patch')
sha256sums=('6da59482f658f35fb676eb632d1653b6038d8b57ef3121c47e6446805fa15750'
	    '2e9f86abb9125ccc6d9f41f8751a7eefc32a1183b69bc7868ddb4c5c9820d11f')

build() {
	cd "$srcdir/vectex-$pkgver"

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

	msg "Starting build process."
	MAKEFLAGS= make || return 1
}

package() {
	cd "$srcdir/vectex-$pkgver"
	install -D -m755 vectex.so "$pkgdir/usr/share/blender/plugins/texture/vectex.so"
}