aboutsummaryrefslogtreecommitdiff
path: root/system/ansible/ansible.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/ansible/ansible.SlackBuild')
-rw-r--r--system/ansible/ansible.SlackBuild19
1 files changed, 3 insertions, 16 deletions
diff --git a/system/ansible/ansible.SlackBuild b/system/ansible/ansible.SlackBuild
index c8b7fe998e2e1..76914fce5cb10 100644
--- a/system/ansible/ansible.SlackBuild
+++ b/system/ansible/ansible.SlackBuild
@@ -4,7 +4,7 @@
# Copyright 2014 Alex Diaconu <alex.diaconu@gmx.com>
# Copyright 2016 Ciorceri Petru Sorin <cpsorin@gmail.com>
-# Copyright 2017-2020 Marek Wodzinski <majek@w7i.pl>
+# Copyright 2017-2024 Marek Wodzinski <majek@w7i.pl>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ansible
-VERSION=${VERSION:-2.9.20}
+VERSION=${VERSION:-8.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -83,25 +83,12 @@ find -L . \
python3 setup.py install --root=$PKG
-# Copy docs, remove git traces, compress manpages
-cp -a docs/man $PKG/usr/man
-find $PKG/usr/man \
- \( -iname '.git*' \
- -o -iname 'man3' \) -delete # "man3" contains a single ".gitdir" file (yeah)
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/etc/ansible
-cp -a examples/ansible.cfg $PKG/etc/ansible/ansible.cfg.new
-cp -a examples/hosts $PKG/etc/ansible/hosts.new
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a examples COPYING *.rst $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING *.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE