diff options
Diffstat (limited to 'blender-blam (not maintaining)/PKGBUILD')
-rw-r--r-- | blender-blam (not maintaining)/PKGBUILD | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/blender-blam (not maintaining)/PKGBUILD b/blender-blam (not maintaining)/PKGBUILD deleted file mode 100644 index 0e4a6b4..0000000 --- a/blender-blam (not maintaining)/PKGBUILD +++ /dev/null @@ -1,42 +0,0 @@ -pkgname=blender-blam -pkgver=20130411 -pkgrel=1 -_blender=2.65 -pkgdesc="This is BLAM, a camera calibration toolkit for Blender in the form of an add-on, written in python, that facilitates modeling based on photographs." -arch=('any') -url="https://github.com/stuffmatic/blam/" -license=('GPL') -depends=('blender') -makedepends=('coreutils') -conflicts=() -source=() -md5sums=() - -_gitroot=https://github.com/stuffmatic/blam.git -_gitname=blam - -build() { - cd "$srcdir" - msg "Connecting to GIT server...." - - if [[ -d "$_gitname" ]]; then - cd "$_gitname" && git pull origin - msg "The local files are updated." - else - git clone "$_gitroot" "$_gitname" - fi - - msg "GIT checkout done or server timeout" - msg "Starting build..." - - rm -rf "$srcdir/$_gitname-build" - git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build" - cd "$srcdir/$_gitname-build" -} - -package() { - cd "$srcdir/$_gitname-build/src" - mkdir -p "$pkgdir/usr/share/blender/$_blender/scripts/" - cp blam.py "$pkgdir/usr/share/blender/$_blender/scripts/" -} - |