void-packages/srcpkgs/hangups/template
2019-03-13 02:15:39 -03:00

32 lines
1 KiB
Bash

# Template file for 'hangups'
pkgname=hangups
version=0.4.9
revision=1
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=fa5c7e1e8527b02a50add508affddfb27ab72413e8970302fafe4aea191a9335
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
}