# Maintainer: Tobias Witek # Contributor: Daniel M. Capella # Contributor: spookykidmm pkgname=bumblebee-status pkgver=1.8.0 pkgrel=1 pkgdesc='Modular, theme-able status line generator for the i3 window manager' arch=('any') url=https://github.com/tobi-wan-kenobi/bumblebee-status license=('MIT') depends=('python' 'python-netifaces' 'python-psutil' 'python-requests') optdepends=('xorg-xbacklight: to display a displays brightness' 'xorg-xset: enable/disable automatic screen locking' 'libnotify: enable/disable automatic screen locking' 'dnf: display DNF package update information' 'xorg-setxkbmap: display/change the current keyboard layout' 'redshift: display the redshifts current color' 'pulseaudio: control pulseaudio sink/sources' 'xorg-xrandr: enable/disable screen outputs' 'pacman: display current status of pacman' 'iputils: display a ping' 'i3ipc-python: display titlebar' 'fakeroot: dependency of the pacman module' 'pytz: timezone conversion for datetimetz module' 'tzlocal: retrieve system timezone for datetimetz module' ) source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") sha512sums=('b985e6619856519a92bd1a9d2a762997e8920a0ef5007f20063fcb2f9afeb193de67e8b0737182576f79ee19b2dd3e6388bb9b987480b7bc19b537f64e9b5685') package() { install -d "$pkgdir"/usr/bin \ "$pkgdir"/usr/share/$pkgname/{bumblebee/modules,themes/icons} ln -s /usr/share/$pkgname/$pkgname "$pkgdir"/usr/bin/$pkgname cd $pkgname-$pkgver cp -a --parents $pkgname bumblebee/{,modules/}*.py themes/{,icons/}*.json $pkgdir/usr/share/$pkgname cp -r bin $pkgdir/usr/share/$pkgname/ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE }