32 lines
1.0 KiB
Bash
32 lines
1.0 KiB
Bash
# Template file for 'hangups'
|
|
pkgname=hangups
|
|
version=0.4.11
|
|
revision=1
|
|
build_style=python3-module
|
|
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=64098c8399d070f8337d9776f097793957709082f8e9abb68749527b80b95f8a
|
|
|
|
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
|
|
}
|