mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-13 18:43:51 +02:00
bumblebee-status: update to 2.0.5.
This commit is contained in:
parent
47042c29a4
commit
5f7ed21911
1 changed files with 21 additions and 14 deletions
|
@ -1,22 +1,29 @@
|
||||||
# Template file for 'bumblebee-status'
|
# Template file for 'bumblebee-status'
|
||||||
pkgname=bumblebee-status
|
pkgname=bumblebee-status
|
||||||
version=1.9.0
|
version=2.0.5
|
||||||
revision=1
|
revision=1
|
||||||
archs=noarch
|
build_style=python3-module
|
||||||
pycompile_dirs="usr/share/${pkgname}/bumblebee"
|
hostmakedepends="python3-setuptools"
|
||||||
depends="python-netifaces python-psutil python-requests"
|
depends="python3-netifaces python3-psutil python3-requests"
|
||||||
short_desc="Modular, theme-able status line generator for the i3 window manager"
|
short_desc="Modular, theme-able status line generator for the i3 window manager"
|
||||||
maintainer="ibrokemypie <ibrokemypie@bastardi.net>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/tobi-wan-kenobi/bumblebee-status"
|
homepage="https://github.com/tobi-wan-kenobi/bumblebee-status"
|
||||||
distfiles="https://github.com/tobi-wan-kenobi/bumblebee-status/archive/v${version}.tar.gz"
|
distfiles="$PYPI_SITE/b/bumblebee-status/bumblebee-status-$version.tar.gz
|
||||||
checksum=ba483f07f5726454aeaf929069bc82dce85be198b969b96c9bd8d85eab5a619c
|
https://raw.githubusercontent.com/tobi-wan-kenobi/bumblebee-status/v$version/LICENSE"
|
||||||
python_version=2 #unverified
|
checksum="37685b0026997ef0055e14b235297f932fb637d1929db8e0e4af19730a8b73be
|
||||||
|
7cf86a994584e9e1bfe64c63f4e4b9d9bf757148d7ee2af960a267e79b16eab3"
|
||||||
|
skip_extraction=LICENSE
|
||||||
|
|
||||||
do_install() {
|
post_patch() {
|
||||||
vmkdir usr/share/${pkgname}
|
vsed -i '
|
||||||
vmkdir usr/bin
|
s|os.path.*THEME_BASE_DIR.*|"/usr/share/bumblebee-status/themes",|
|
||||||
vcopy "bumblebee themes bumblebee-status" usr/share/${pkgname}
|
' bumblebee_status/core/theme.py
|
||||||
ln -sfr /usr/share/bumblebee-status/bumblebee-status ${DESTDIR}/usr/bin
|
vsed -i '/usr.share.bumblebee-status/s/bin/utility/' bumblebee_status/discover.py
|
||||||
vlicense LICENSE
|
}
|
||||||
|
|
||||||
|
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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue