void-packages/srcpkgs/hangups/template
2019-12-24 12:24:34 +01:00

33 lines
1 KiB
Bash

# Template file for 'hangups'
pkgname=hangups
version=0.4.10
revision=2
build_style=python3-module
pycompile_module="hangups"
hostmakedepends="python3-setuptools"
depends="python3-MechanicalSoup python3-readlike python3-ReParser
python3-ConfigArgParse python3-aiohttp python3-async-timeout python3-appdirs
python3-requests python3-protobuf python3-urwid"
short_desc="Third-party text-based user interface for Google Hangouts"
maintainer="Alex Childs <misuchiru03+void@gmail.com>"
license="MIT"
homepage="https://github.com/tdryer/hangups"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=ad8504550779fbec84048802b27fe9a86986fdf42d7165d6536c1d6fdee7894e
pre_build() {
# Remove version constraint on packages that have
# a strict version requirement.
sed -e "s|MechanicalSoup==.*,|MechanicalSoup',|" \
-e "s|urwid==.*,|urwid',|" \
-e "s|ReParser==.*,|ReParser',|" \
-e "s|ConfigArgParse==.*,|ConfigArgParse',|" \
-e "s|readlike==.*,|readlike',|" \
-e "s|protobuf>=.*,|protobuf',|" \
-i setup.py
}
post_install() {
vlicense LICENSE
}