diff options
author | Christoph Brill | 2017-08-30 22:05:13 +0200 |
---|---|---|
committer | Christoph Brill | 2017-08-30 22:05:13 +0200 |
commit | 4f85405b4d70a61d66d7a1b502acf0b6f4200abd (patch) | |
tree | db7c33675c867b2e049e8fbc860a92e1e36526dc | |
download | aur-blender-plugin-meshlint-git.tar.gz |
Add package blender-plugin-meshlint-git
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 24 |
3 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..50fb27d32323 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = blender-plugin-meshlint-git + pkgdesc = A Blender Addon to help you keep your meshes clean and lint-free, like a spell-checker for your meshes. + pkgver = 1.0_r8ab0870 + pkgrel = 1 + url = https://github.com/rking/meshlint + arch = any + license = GPL + makedepends = git + depends = blender + source = meshlint::git+https://github.com/rking/meshlint.git + md5sums = SKIP + +pkgname = blender-plugin-meshlint-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..fc31b1b5e1e8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.tar.xz +/meshlint +/src +/pkg diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..668661b7cb27 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Christoph Brill <egore911@gmail.com> +pkgname=blender-plugin-meshlint-git +pkgver=1.0_r8ab0870 +pkgrel=1 +pkgdesc="A Blender Addon to help you keep your meshes clean and lint-free, like a spell-checker for your meshes." +arch=(any) +url="https://github.com/rking/meshlint" +license=('GPL') +depends=(blender) +makedepends=(git) +source=("meshlint::git+https://github.com/rking/meshlint.git") +md5sums=('SKIP') + +pkgver() { + cd meshlint + printf "1.0_r%s" "$(git rev-parse --short HEAD)" +} + +package() { + cd meshlint + addons="$pkgdir/usr/share/blender/$(blender -v | head -n1 | cut -f2 -d ' ')/scripts/addons" + install -dm755 ${addons}/meshlint + install -m644 meshlint.py ${addons}/meshlint +} |