mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-10 05:40:07 +02:00
43 lines
1.1 KiB
Bash
43 lines
1.1 KiB
Bash
SUMMARY="Command line recorder for asciinema.org service"
|
|
DESCRIPTION="asciinema lets you easily record terminal sessions and replay \
|
|
them in a terminal as well as in a web browser."
|
|
HOMEPAGE="https://asciinema.org/"
|
|
COPYRIGHT="2011-2017 Marcin Kulik"
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/asciinema/asciinema/archive/v$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="841a55b0f51988d5e155e99badbd6ce5cf3b43cca2ba15cd20c971a19719dc9a"
|
|
SOURCE_DIR="asciinema-$portVersion"
|
|
|
|
ARCHITECTURES="any"
|
|
|
|
PROVIDES="
|
|
python3_asciinema = $portVersion
|
|
cmd:asciinema
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
cmd:python3
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
setuptools_python3
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:make
|
|
cmd:python3
|
|
"
|
|
|
|
INSTALL()
|
|
{
|
|
# GENERIC: all python_setuptools-based installs need this
|
|
pythonVersion=$(python3 --version 2>&1 | sed 's/Python //' | head -c3)
|
|
installLocation=$prefix/lib/python$pythonVersion/vendor-packages/
|
|
export PYTHONPATH=$installLocation:$PYTHONPATH
|
|
mkdir -p $installLocation
|
|
|
|
$portPackageLinksDir/cmd~python3/bin/python3 setup.py install \
|
|
--prefix=$prefix
|
|
}
|