diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2022-12-03 20:20:35 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-12-10 07:43:10 +0700 |
commit | cbe5f7cd8bbb9a0356d648ff4deeb73caa7c2b69 (patch) | |
tree | 0ea8ed39a9f098ce485b065756eba85520521baf /network | |
parent | 6d92a3631ca1ed907d247585af1c9cf3d1a046f7 (diff) |
network/asciinema: Updated for version 2.2.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/asciinema/asciinema.SlackBuild | 19 | ||||
-rw-r--r-- | network/asciinema/asciinema.info | 6 | ||||
-rw-r--r-- | network/asciinema/setup.py | 5 |
3 files changed, 18 insertions, 12 deletions
diff --git a/network/asciinema/asciinema.SlackBuild b/network/asciinema/asciinema.SlackBuild index db068b5d79ef..5a1230c34490 100644 --- a/network/asciinema/asciinema.SlackBuild +++ b/network/asciinema/asciinema.SlackBuild @@ -22,14 +22,11 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# 20220403 bkw: Modified by SlackBuilds.org, BUILD=2: -# - install docs to correct dir, /usr/doc/$PRGNAM-$VERSION - cd $(dirname $0) ; CWD=$(pwd) PRGNAM=asciinema -VERSION=${VERSION:-2.1.0} -BUILD=${BUILD:-2} +VERSION=${VERSION:-2.2.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -71,6 +68,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cp $CWD/setup.py $PRGNAM-$VERSION cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -79,15 +77,18 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ -# Fix manpage path -sed -i -e "s/share\/man/man/" setup.py - python3 setup.py install --root=$PKG -gzip -9 $PKG/usr/man/man*/* + +mkdir -p $PKG/usr/man/man1 +cp man/asciinema.1 $PKG/usr/man/man1 + +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/usr/doc/$PRGNAM-$VERSION mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION rm -rf $PKG/usr/share # nothing here but empty doc/ dir. + cp -a *.md PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/network/asciinema/asciinema.info b/network/asciinema/asciinema.info index c8068d5d2509..0c08c09e25b8 100644 --- a/network/asciinema/asciinema.info +++ b/network/asciinema/asciinema.info @@ -1,8 +1,8 @@ PRGNAM="asciinema" -VERSION="2.1.0" +VERSION="2.2.0" HOMEPAGE="https://asciinema.org" -DOWNLOAD="https://files.pythonhosted.org/packages/2c/31/492da48c9d7d23cd26f16c8f459aeb443ff056258bed592b5ba28ed271ea/asciinema-2.1.0.tar.gz" -MD5SUM="7d4bad3fca5ba0d5c82b3057fd5f6a3c" +DOWNLOAD="https://files.pythonhosted.org/packages/26/40/20891ed2770311c22543499a011906858bb12450bf46bd6d763f39da0002/asciinema-2.2.0.tar.gz" +MD5SUM="b47535e5d02e5a212822a99abbf13e72" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/network/asciinema/setup.py b/network/asciinema/setup.py new file mode 100644 index 000000000000..0ae4555937eb --- /dev/null +++ b/network/asciinema/setup.py @@ -0,0 +1,5 @@ +from setuptools import setup + + +if __name__ == '__main__': + setup() |