poppler: update to 0.64
[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=2.0.1
4 TERMUX_PKG_SHA256=7087b247dae36d04821197bc14ebd4248049592b299c9878d8953c025ac802e4
5 TERMUX_PKG_SRCURL=https://github.com/asciinema/asciinema/archive/v${TERMUX_PKG_VERSION}.tar.gz
6 TERMUX_PKG_BUILD_IN_SRC=yes
7 TERMUX_PKG_PLATFORM_INDEPENDENT=yes
8 # ncurses-utils for tput which asciinema uses:
9 TERMUX_PKG_DEPENDS="python, ncurses-utils"
10
11 termux_step_make () {
12 return
13 }
14
15 termux_step_make_install () {
16 export PYTHONPATH=$TERMUX_PREFIX/lib/python3.6/site-packages/
17 python3.6 setup.py install --prefix=$TERMUX_PREFIX --force
18 }
19
20 termux_step_post_massage () {
21 find . -path '*/__pycache__*' -delete
22 }