asciinema: Update from 1.3.0 to 1.4.0
[termux-packages] / packages / asciinema / build.sh
1 TERMUX_PKG_HOMEPAGE=https://asciinema.org/
2 TERMUX_PKG_DESCRIPTION="Record and share your terminal sessions, the right way"
3 TERMUX_PKG_VERSION=1.4.0
4 # ncurses-utils for tput which asciinema uses:
5 TERMUX_PKG_DEPENDS="python, ncurses-utils"
6 TERMUX_PKG_SRCURL=https://github.com/asciinema/asciinema/archive/v${TERMUX_PKG_VERSION}.tar.gz
7 TERMUX_PKG_SHA256=841a55b0f51988d5e155e99badbd6ce5cf3b43cca2ba15cd20c971a19719dc9a
8 TERMUX_PKG_FOLDERNAME=asciinema-${TERMUX_PKG_VERSION}
9 TERMUX_PKG_BUILD_IN_SRC=yes
10 TERMUX_PKG_PLATFORM_INDEPENDENT=yes
11
12 termux_step_make () {
13 return
14 }
15
16 termux_step_make_install () {
17 export PYTHONPATH=$TERMUX_PREFIX/lib/python3.6/site-packages/
18 python3.6 setup.py install --prefix=$TERMUX_PREFIX --force
19 }
20
21 termux_step_post_massage () {
22 find . -path '*/__pycache__*' -delete
23 }