# Template file for 'python3-srt'
pkgname=python3-srt
version=3.5.3
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Library for parsing, modifying, and composing SRT files"
maintainer="John <me@johnnynator.dev>"
license="MIT"
homepage="https://github.com/cdown/srt"
distfiles="${PYPI_SITE}/s/srt/srt-${version}.tar.gz"
checksum=4884315043a4f0740fd1f878ed6caa376ac06d70e135f306a6dc44632eed0cc0
alternatives="srt:srt:/usr/bin/pysrt-srt"
conflicts="python3-pysrt<=1.1.2_8"

post_install() {
	mv ${DESTDIR}/usr/bin/{srt,python3-srt-srt}
	vlicense LICENSE
}
