diff options
-rw-r--r-- | pcr/yafaray/PKGBUILD | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/pcr/yafaray/PKGBUILD b/pcr/yafaray/PKGBUILD index 02419a478..0d241bcbc 100644 --- a/pcr/yafaray/PKGBUILD +++ b/pcr/yafaray/PKGBUILD @@ -29,15 +29,12 @@ pkgver=$_pkgver.$_pkgdat pkgrel=$_pkgrel arch=('i686' 'x86_64' 'mips64el') url="http://www.$_pkgname.org" -license=('LGPL2.1') [[ $_build_pkg == yes ]] && depends=('freetype2' 'libjpeg' 'libxml2' 'openexr') [[ $_build_pkg == yes ]] && makedepends=('cmake' 'python' 'qt4' 'swig') [[ $_build_pkg == yes ]] && source+=("$_pkgname-$_pkgver.$_pkgrev.tar.gz::https://github.com/YafaRay/Core/archive/$_pkgrev.tar.gz") [[ $_build_add == yes ]] && source+=("$_addname-$_addver.$_addrev.tar.gz::https://github.com/YafaRay/${_bldname^}-Exporter/archive/$_addrev.tar.gz") -source+=('http://www.gnu.org/licenses/lgpl-2.1.txt') [[ $_build_pkg == yes ]] && sha512sums+=('089373ebe702361ccd5a8b8ee789188bdb569338f0f406f2fe5e355ef69d2de5f793a5b9e5f85e998fd0b5a42500124d0d35bffee00d177e710347a1a107228e') [[ $_build_add == yes ]] && sha512sums+=('38b85b14ccf0042012de0e8791ed9264ff389b223ef033f2c9daeccb0388a483c38f9a8aa178819183795ff5dd37c5cdd201f2af23d5e28231bffad7deecd523') -sha512sums+=('1bca76c9f2f559a7851c278650125cd4f44a7ae4a96ceee6a6ba81d34d28fe7d6125c5ee459fef729b6a2a0eba3075c0841c8a156b3a26f66194f77f7d49151c') _prepare_yafaray() { msg 'Renaming source dir' @@ -77,12 +74,17 @@ _build_yafaray() { package_yafaray() { pkgdesc='A free software raytracing engine' + license=('LGPL2.1') optdepends=('python: Python bindings' 'qt4: QT GUI' "$_addname: ${_bldname^} addon renderer") cd $srcdir/$_pkgname-$pkgver.$_pkgrev/build make DESTDIR=$pkgdir install + + b=$pkgdir/usr/share/licenses/$pkgname + + install -vd $b && install -m644 ../LICENSE $b/LGPL-v2.1 } package_blender-addon-yafaray() { @@ -90,6 +92,7 @@ package_blender-addon-yafaray() { pkgrel=$_addrel pkgdesc="A addon for the ${_bldname^} which allows render with YafaRay (built for the $_bldname package)" arch=('any') + license=('GPL2') depends=("$_pkgname=$_pkgver" "$_bldname-libre>=$_bldep:$_bldver" "$_bldname-libre<$(($_bldep+1)):${_bldver::2}$((${_bldver:2:4}+1))") makedepends=() @@ -99,7 +102,7 @@ package_blender-addon-yafaray() { b=$pkgdir/usr/share/licenses/$pkgname install -vd $a && cp -a ../$_addname-$_addver.$_addrev $a/$_pkgname - install -vd $b && install -m644 $startdir/lgpl-2.1.txt $b/LGPL2.1 + install -vd $b && install -m644 GPL-license.txt $b/GPL-v2.0 install -vd $a/$_pkgname/bin ln -vsf /usr/lib/lib${_pkgname}core.so $a/$_pkgname/bin/lib${_pkgname}core.so |