diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-10-05 03:00:38 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-10-05 03:00:38 +0400 |
commit | ca906b207d7afdc71459e1f4a730f20fd3219514 (patch) | |
tree | 3efd4ced4c8650232164492af9ce6728ff210035 /build_files/package_spec/pacman | |
parent | 185df0811c3f8bd8246e0f314def008dbaf02b95 (diff) |
modify pacman file not to compile templates & presets.
Diffstat (limited to 'build_files/package_spec/pacman')
-rw-r--r-- | build_files/package_spec/pacman/PKGBUILD | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/build_files/package_spec/pacman/PKGBUILD b/build_files/package_spec/pacman/PKGBUILD index 0f070f3d558..e59d1cf31d7 100644 --- a/build_files/package_spec/pacman/PKGBUILD +++ b/build_files/package_spec/pacman/PKGBUILD @@ -12,10 +12,12 @@ blender_version_char=$(sed -ne 's/.*BLENDER_VERSION_CHAR.*\([a-z]\)$/\1/p' $blen # map the version a -> 1 # not to be confused with blender's internal subversions if [ "$blender_version_char" ]; then - blender_version=${blender_version}.$(expr index abcdefghijklmnopqrstuvwxyz $blender_version_char) + blender_version_full=${blender_version}.$(expr index abcdefghijklmnopqrstuvwxyz $blender_version_char) +else + blender_version_full=${blender_version} fi -blender_ver_string=$blender_version+svn$blender_revision +blender_ver_string=$blender_version+svn$blender_version_full pkgname=blender-snapshot pkgver=$blender_ver_string @@ -61,5 +63,8 @@ build() { package() { cd $srcdir/build make DESTDIR="$pkgdir" install - python -m compileall $pkgdir/usr/share/blender + python -m compileall \ + $pkgdir/usr/share/blender/$blender_version/scripts/startup \ + $pkgdir/usr/share/blender/$blender_version/scripts/modules \ + $pkgdir/usr/share/blender/$blender_version/scripts/addons } |