Commit | Line | Data |
---|---|---|
05f44081 FF |
1 | TERMUX_PKG_HOMEPAGE=https://asciinema.org/ |
2 | TERMUX_PKG_DESCRIPTION="Record and share your terminal sessions, the right way" | |
52c7c339 FF |
3 | TERMUX_PKG_VERSION=2.0.1 |
4 | TERMUX_PKG_SHA256=7087b247dae36d04821197bc14ebd4248049592b299c9878d8953c025ac802e4 | |
05f44081 | 5 | TERMUX_PKG_SRCURL=https://github.com/asciinema/asciinema/archive/v${TERMUX_PKG_VERSION}.tar.gz |
05f44081 | 6 | TERMUX_PKG_BUILD_IN_SRC=yes |
fd8dee4f | 7 | TERMUX_PKG_PLATFORM_INDEPENDENT=yes |
52c7c339 FF |
8 | # ncurses-utils for tput which asciinema uses: |
9 | TERMUX_PKG_DEPENDS="python, ncurses-utils" | |
05f44081 FF |
10 | |
11 | termux_step_make () { | |
fd8dee4f | 12 | return |
05f44081 FF |
13 | } |
14 | ||
15 | termux_step_make_install () { | |
449d39d0 FF |
16 | export PYTHONPATH=$TERMUX_PREFIX/lib/python3.6/site-packages/ |
17 | python3.6 setup.py install --prefix=$TERMUX_PREFIX --force | |
fd8dee4f | 18 | } |
f636b957 | 19 | |
fd8dee4f FF |
20 | termux_step_post_massage () { |
21 | find . -path '*/__pycache__*' -delete | |
05f44081 | 22 | } |