diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-09-06 04:40:44 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-09-06 04:40:44 -0300 |
commit | 05c29ae0cd1395cdef6f3695d1ce0dbe072dd205 (patch) | |
tree | 7c2a7b3c578016c248898e9e63e1f844216c437a | |
parent | 35121ef5c75a7087c66fb82abe457add94d527d9 (diff) | |
download | abslibre-05c29ae0cd1395cdef6f3695d1ce0dbe072dd205.tar.gz abslibre-05c29ae0cd1395cdef6f3695d1ce0dbe072dd205.tar.bz2 abslibre-05c29ae0cd1395cdef6f3695d1ce0dbe072dd205.zip |
mitsuba: fix paths
-rw-r--r-- | pcr/mitsuba/PKGBUILD | 12 |
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 |