summaryrefslogtreecommitdiff
path: root/pcr/makehuman/PKGBUILD
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2018-09-05 14:36:35 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2018-09-05 14:36:35 -0500
commit3fd5d6b6eea2be586fe3098d89b3632d9a9d229d (patch)
tree4f6ed457bc07e66e6c2ff47f010acc70bbe6cf77 /pcr/makehuman/PKGBUILD
parentd097e97f6d5888e23877ba3f776558a23a73aa89 (diff)
downloadabslibre-3fd5d6b6eea2be586fe3098d89b3632d9a9d229d.tar.gz
abslibre-3fd5d6b6eea2be586fe3098d89b3632d9a9d229d.tar.bz2
abslibre-3fd5d6b6eea2be586fe3098d89b3632d9a9d229d.zip
Removing makehuman
Diffstat (limited to 'pcr/makehuman/PKGBUILD')
-rw-r--r--pcr/makehuman/PKGBUILD47
1 files changed, 0 insertions, 47 deletions
diff --git a/pcr/makehuman/PKGBUILD b/pcr/makehuman/PKGBUILD
deleted file mode 100644
index d5d17ac8c..000000000
--- a/pcr/makehuman/PKGBUILD
+++ /dev/null
@@ -1,47 +0,0 @@
-# Maintainer (Arch): Lukas Jirkovsky <l.jirkovsky@gmail.com>
-pkgname=makehuman
-pkgver=1.1.1
-pkgrel=1
-pkgdesc="Parametrical modeling program for creating human bodies"
-arch=('any')
-url="http://www.makehuman.org/"
-depends=('python2-numpy' 'python2-pyqt4' 'python2-opengl')
-makedepends=('mercurial')
-license=('AGPL3')
-source=("hg+https://bitbucket.org/MakeHuman/makehuman#tag=$pkgver" \
- "makehuman.desktop" "makehuman.sh")
-md5sums=('SKIP'
- 'f54fdfbc6c783effc4624808d2547563'
- '534db191b7c6cd5cf976c9a7089b524c')
-
-prepare() {
- cd "$srcdir/makehuman"
-
- # make sure that we are using python2
- find . -type f -name "*.py" -exec sed -i 's/^#!.*python$/&2/' '{}' ';'
- sed -i 's|python"|python2"|' buildscripts/build_prepare.py
-
- rm -rf "$srcdir/build"
-}
-
-build() {
- cd "$srcdir/makehuman/buildscripts"
- python2 build_prepare.py "$srcdir/makehuman" "$srcdir/build"
-
- cd "$srcdir/build/makehuman"
- # make sure that we are using python2 once again, because the build_prepare.py may have donwloaded some new files
- find . -type f -name "*.py" -exec sed -i 's/^#!.*python$/&2/' '{}' ';'
- # compile all modules so that they can be tracked by pacman
- python2 -m compileall .
- # and also optimize them
- python2 -OO -m compileall .
-}
-
-package() {
- install -d -m755 "$pkgdir/opt/"
- cp -a "$srcdir/build/makehuman" "$pkgdir/opt/"
-
- install -D -m644 "$srcdir/build/makehuman/icons/makehuman.png" "$pkgdir/usr/share/pixmaps/makehuman.png"
- install -D -m755 "$srcdir/$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
- install -D -m644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
-}