aboutsummaryrefslogtreecommitdiff
path: root/graphics/makehuman/makehuman.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/makehuman/makehuman.SlackBuild')
-rw-r--r--graphics/makehuman/makehuman.SlackBuild32
1 files changed, 14 insertions, 18 deletions
diff --git a/graphics/makehuman/makehuman.SlackBuild b/graphics/makehuman/makehuman.SlackBuild
index 93002995c834..0cd3d589a52d 100644
--- a/graphics/makehuman/makehuman.SlackBuild
+++ b/graphics/makehuman/makehuman.SlackBuild
@@ -22,25 +22,19 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220304 bkw: Modified by SlackBuilds.org: fix build on 15.0,
+# by upgrading to the latest release.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=makehuman
-VERSION=${VERSION:-1.0.2}
+VERSION=${VERSION:-1.2.0+20201105183027}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
+ARCH=noarch
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -52,20 +46,22 @@ OUTPUT=${OUTPUT:-/tmp}
set -e
+SRCNAM=makehuman-community
+DEBTAG="${DEBTAG:-1ppa1_all}"
+DEB="${SRCNAM}_${VERSION}-${DEBTAG}.deb"
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-ar vx $CWD/$PRGNAM-$VERSION\_all.deb
cd $PKG
-tar -xvjf $TMP/data.tar.bz2
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+ar p $CWD/$DEB data.tar.xz | tar xvfJ -
-rm -rf $PKG/var
+# 20220304 bkw: no need to strip anything (it's all python, no compiled code).
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/usr/share/$PRGNAM/licenses $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/$SRCNAM/licenses $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/doc/$SRCNAM/* $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf $PKG/usr/share/doc
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install