summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/mitsuba/PKGBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/pcr/mitsuba/PKGBUILD b/pcr/mitsuba/PKGBUILD
index 52cd725f6..c8e57333c 100644
--- a/pcr/mitsuba/PKGBUILD
+++ b/pcr/mitsuba/PKGBUILD
@@ -40,9 +40,9 @@ url="https://www.$_pkgname-renderer.org"
_prepare_mitsuba() {
msg 'Renaming source dir'
- mv -v $srcdir/$_pkgname-???????????? $srcdir/$_pkgname-$pkgver.$_pkgrev
+ mv -v $srcdir/$_pkgname-???????????? $srcdir/$_pkgname-$_pkgver.$_pkgrev
- cd $srcdir/$_pkgname-$pkgver.$_pkgrev
+ cd $srcdir/$_pkgname-$_pkgver.$_pkgrev
msg 'renaming wrong OS name'
_OS=$(uname -o)
@@ -72,7 +72,7 @@ prepare() {
}
_build_mitsuba() {
- cd $srcdir/$_pkgname-$pkgver.$_pkgrev/build
+ cd $srcdir/$_pkgname-$_pkgver.$_pkgrev/build
[[ $CARCH == x86_64 ]] && _SSE=ON || _SSE=OFF
# i686: MTS_SSE disabled
@@ -93,16 +93,16 @@ package_mitsuba() {
"$_addname: ${_bldname^} addon exporter and renderer")
install="$_pkgname.install"
- cd $srcdir/$_pkgname-$pkgver.$_pkgrev/build
+ cd $srcdir/$_pkgname-$_pkgver.$_pkgrev/build
make DESTDIR=$pkgdir install
b=$pkgdir/usr/share/licenses/$pkgname
- install -vd $b && install -m644 ../LICENSE $b/GPL-v3.0
+ install -vd $b && install -m644 ../doc/license.txt $b/GPL-v3.0
msg 'fixing files and folders location'
a=$pkgdir/usr
- b=$srcdir/$_pkgname-v$pkgver
+ b=$srcdir/$_pkgname-$_pkgver.$_pkgrev
install -vd $a/{bin,lib/python$_pyver/lib-dynload,share/{applications,$_pkgname,pixmaps}}
install -vm644 $b/data/linux/$_pkgname.desktop $a/share/applications
install -vm644 $b/src/mtsgui/resources/${_pkgname}48.png $a/share/pixmaps