summaryrefslogtreecommitdiff
path: root/libre/blender-libre/rePKGBUILD
blob: 85e43451cf8e2f5529ccf7c400d46b7a24fe87f7 (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
35
36
37
# This is an example rePKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.

# Maintainer: Nicolas Reynolds <fauno@kiwwwi.com.ar>
# Maintainer (Parabola): Márcio Silva <coadde@adinet.com.uy>
source PKGBUILD
unset build package md5sums source check
_repo=community
pkgname='blender-libre'
options=(!strip)
source=(PKGBUILD
	http://mirrors.kernel.org/archlinux/${_repo}/os/$CARCH/${pkgbase}-${pkgver}-${pkgrel}-${CARCH}${PKGEXT}
	# files for pkg modifications
    )

build() {
  cd "${srcdir}/"
  rm -v .{INSTALL,PKGINFO} ${pkgname%-libre}-$pkgver-$pkgrel-$CARCH$PKGEXT || true
  # put actions for package modifications below this line
}

package_blender-libre() {
    pkgdesc="A fully integrated 3D graphics creation suite without cuda-toolkit recommendation"
    provides=("${pkgname}=${pkgver}")
    replaces=("${pkgname}")
    conflicts=("${pkgname}")
    install=blender.install
    depends=('libpng' 'libtiff' 'openexr' 'python' 'desktop-file-utils'
             'shared-mime-info' 'hicolor-icon-theme' 'xdg-utils' 'glew'
             'freetype2' 'openal' 'ffmpeg' 'fftw' 'boost-libs' 'opencollada'
             'openimageio' 'libsndfile' 'jack')

  find ${srcdir} -maxdepth 1 -type l -delete
  cp -a ${srcdir}/* ${pkgdir}
}