diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-22 08:49:21 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-22 08:49:21 +0300 |
commit | 44e33571cad0843ecd5029b77a336dc4d7120eef (patch) | |
tree | 7ad6052fcdfa9f79277e1d4e80d050d36e22d878 /build_files/package_spec/pacman | |
parent | dd8383e469369a116c00b479af23028b77827b42 (diff) |
part of a patch from Dan Eicher with some edits.
- clean svn string: 35042:35051M -> 35051
- debian and pacman build with threads by default.
Diffstat (limited to 'build_files/package_spec/pacman')
-rw-r--r-- | build_files/package_spec/pacman/PKGBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/build_files/package_spec/pacman/PKGBUILD b/build_files/package_spec/pacman/PKGBUILD index 6102be5833c..3cbd452dbf4 100644 --- a/build_files/package_spec/pacman/PKGBUILD +++ b/build_files/package_spec/pacman/PKGBUILD @@ -2,7 +2,8 @@ # custom blender vars blender_srcdir=$(dirname $startdir)"/../.." -blender_revision=$(svnversion $blender_srcdir) +# value may be formatted: 35042:35051M +blender_revision=$(svnversion $blender_srcdir | cut -d: -f2 | tr -dc 0-9) blender_version=$(grep BLENDER_VERSION $blender_srcdir/source/blender/blenkernel/BKE_blender.h | tr -dc 0-9) # blender_subversion=$(grep BLENDER_SUBVERSION $blender_srcdir/source/blender/blenkernel/BKE_blender.h | tr -dc 0-9) blender_ver_string=$(expr $blender_version / 100).$(expr $blender_version % 100)+svn$blender_revision @@ -40,7 +41,7 @@ build() { -DWITH_PYTHON_INSTALL:BOOL=OFF \ -DWITH_OPENCOLLADA:BOOL=OFF - make + make $MAKEFLAGS } package() { |