summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/mitsuba/PKGBUILD12
-rw-r--r--pcr/yafaray/PKGBUILD8
2 files changed, 10 insertions, 10 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
diff --git a/pcr/yafaray/PKGBUILD b/pcr/yafaray/PKGBUILD
index 0d241bcbc..3a7cdc7e9 100644
--- a/pcr/yafaray/PKGBUILD
+++ b/pcr/yafaray/PKGBUILD
@@ -38,9 +38,9 @@ url="http://www.$_pkgname.org"
_prepare_yafaray() {
msg 'Renaming source dir'
- mv -v $srcdir/Core-$_pkgrev $srcdir/$_pkgname-$pkgver.$_pkgrev
+ mv -v $srcdir/Core-$_pkgrev $srcdir/$_pkgname-$_pkgver.$_pkgrev
- cd $srcdir/$_pkgname-$pkgver.$_pkgrev
+ cd $srcdir/$_pkgname-$_pkgver.$_pkgrev
[[ -d build ]] && rm -vr build
mkdir -v build
@@ -63,7 +63,7 @@ prepare() {
}
_build_yafaray() {
- cd $srcdir/$_pkgname-$pkgver.$_pkgrev/build
+ cd $srcdir/$_pkgname-$_pkgver.$_pkgrev/build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr\
-DYAF_PY_VERSION=$_pyver\
@@ -79,7 +79,7 @@ package_yafaray() {
'qt4: QT GUI'
"$_addname: ${_bldname^} addon renderer")
- cd $srcdir/$_pkgname-$pkgver.$_pkgrev/build
+ cd $srcdir/$_pkgname-$_pkgver.$_pkgrev/build
make DESTDIR=$pkgdir install
b=$pkgdir/usr/share/licenses/$pkgname