blob: 4a215803c550529f2ea3046ec4d294c5d6b8e247 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Maintainer: Mattias Andrée <m@`base64 -d`(bWFhbmRyZWU).se>
pkgname=xpybar
pkgver=1.20.2
pkgrel=1
pkgdesc="A highly extensible minimalistic dock panel configured in Python 3"
arch=(any)
url="https://codeberg.org/maandree/xpybar"
license=('GPL3' 'AGPL3')
depends=(python3 argparser-python 'python-xlib>=0.18' xorg-xrandr)
optdepends=("alarm: for limiting the time of a file search in locks"
"curl: for Internet services"
"file: for image support"
"findutils: for file search in locks"
"graphicsmagick: for image support"
"hdparm: hdparm: for hdparm support"
"ii: for ii support"
"imagemagick: for image support"
"inotify-tools: for ii and inotify support"
"iputils: for ping support"
"librsvg: for image support"
"linux: most of the monitors require Linux's procfs or sysfs"
"pdeath: for automatic killing of child processes on exit"
"python-pyalsaaudio: for ALSA volume control"
"python-pytz: for timezone support"
"python-sysv-ipc: for ropty example"
"solar-python: for solar data (>= 2.5)")
makedepends=(make coreutils sed zip auto-auto-complete texinfo)
install=xpybar.install
source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
sha256sums=(77a0a04199c7cce72613c8c361891dab2b4158f06fac1e197dcd06ed6f249298)
build() {
cd "$srcdir/$pkgname"
make PREFIX=/usr HDPARM_PATH=/usr/bin/hdparm
}
package() {
cd "$srcdir/$pkgname"
make PREFIX=/usr HDPARM_PATH=/usr/bin/hdparm DESTDIR="$pkgdir" install
chmod 4755 "$pkgdir/usr/bin/restricted-hdparm"
}
|