diff options
author | Emanuel Amaral Couto | 2019-01-05 23:27:02 +0000 |
---|---|---|
committer | Emanuel Amaral Couto | 2019-01-05 23:27:02 +0000 |
commit | 412ad5067920167ddc77452ad5cba1f3b292ef34 (patch) | |
tree | 69425b0ecbac52b885f5b58d324f70839283b590 | |
download | aur-412ad5067920167ddc77452ad5cba1f3b292ef34.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 41 |
2 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..651582e8386a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = makehuman-git + pkgdesc = Parametrical modeling program for creating human bodies (git latest) + pkgver = r2405.ebb245b2 + pkgrel = 1 + url = http://www.makehumancommunity.org/ + arch = any + license = AGPL3 + makedepends = git + makedepends = git-lfs + depends = python + depends = python-numpy + depends = python-pyqt5 + depends = python-opengl + depends = qt5-svg + source = git+https://github.com/makehumancommunity/makehuman.git + sha256sums = SKIP + +pkgname = makehuman-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9d1aef216548 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: Emanuel Couto <unit73e@gmail.com> + +_prjname=makehuman +pkgname=makehuman-git +pkgver=r2405.ebb245b2 +pkgrel=1 +pkgdesc="Parametrical modeling program for creating human bodies (git latest)" +arch=('any') +url="http://www.makehumancommunity.org/" +license=('AGPL3') +depends=('python' 'python-numpy' 'python-pyqt5' 'python-opengl' 'qt5-svg') +makedepends=('git' 'git-lfs') +source=("git+https://github.com/makehumancommunity/${_prjname}.git") +sha256sums=('SKIP') + +pkgver() { + cd "$srcdir/${_prjname}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "$srcdir/${_prjname}/makehuman" + + # Build as detailed on readme + python download_assets_git.py + python compile_models.py + python compile_proxies.py + python compile_targets.py +} + +package() { + cd "$srcdir/${_prjname}" + + # No standard UNIX structure so install in opt + install -d -m755 "$pkgdir/opt/makehuman" + cp -R makehuman/* "$pkgdir/opt/makehuman" + + # Creates a symlink to the binary + install -d m755 "$pkgdir/usr/bin" + ln -s "/opt/makehuman/makehuman.py" "$pkgdir/usr/bin/makehuman" +} |