blob: eecd7a59ceb4d0a724baa18b1aa35a3b6d582bf1 (
plain) (
tree)
|
|
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
pkgname=xpybar
pkgver=1.4.1
pkgrel=1
pkgdesc="A highly extensible minimalistic dock panel written in Python 3"
arch=(any)
url="https://github.com/maandree/xpybar"
license=('GPL3' 'AGPL3')
depends=(python3 argparser python3-xlib xorg-xrandr)
optdepends=("linux: most of the monitors require Linux's procfs or sysfs"
"wget: for Internet services"
"python-pyalsaaudio: for ALSA volume control"
"hdparm: hdparm: for hdparm support"
"python-pytz: for timezone support")
makedepends=(make coreutils sed zip)
source=($url/archive/$pkgver.tar.gz)
sha256sums=(e50a6cc1022f01608195193deb73a704efa8bdd7a33ed89643a0e9390b5bf33f)
build() {
cd "$srcdir/$pkgname-$pkgver"
make PREFIX=/usr
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make PREFIX=/usr install DESTDIR="$pkgdir"
chmod 4755 "$pkgdir/usr/bin/restricted-hdparm"
}
|