# Template file for 'bumblebee-status' pkgname=bumblebee-status version=2.0.5 revision=2 build_style=python3-module hostmakedepends="python3-setuptools" depends="python3-netifaces python3-psutil python3-requests" short_desc="Modular, theme-able status line generator for the i3 window manager" maintainer="Orphaned " license="MIT" homepage="https://github.com/tobi-wan-kenobi/bumblebee-status" distfiles="$PYPI_SITE/b/bumblebee-status/bumblebee-status-$version.tar.gz https://raw.githubusercontent.com/tobi-wan-kenobi/bumblebee-status/v$version/LICENSE" checksum="37685b0026997ef0055e14b235297f932fb637d1929db8e0e4af19730a8b73be 7cf86a994584e9e1bfe64c63f4e4b9d9bf757148d7ee2af960a267e79b16eab3" skip_extraction=LICENSE post_patch() { vsed -i ' s|os.path.*THEME_BASE_DIR.*|"/usr/share/bumblebee-status/themes",| ' bumblebee_status/core/theme.py vsed -i '/usr.share.bumblebee-status/s/bin/utility/' bumblebee_status/discover.py } post_install() { rm -rf $DESTDIR/$py3_sitelib/tests rm -f $DESTDIR/usr/share/bumblebee-status/utility/pacman-updates vlicense $XBPS_SRCDISTDIR/bumblebee-status-$version/LICENSE }