blob: 0b0470f87b3748b39f3960d2526ec249eea49da3 (
plain) (
blame)
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
|
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
pkgname=xpybar
pkgver=1.12
pkgrel=1
pkgdesc="A highly extensible minimalistic dock panel configured in Python 3"
arch=(any)
url="https://github.com/maandree/xpybar"
license=('GPL3' 'AGPL3')
depends=(python3 argparser python-xlib xorg-xrandr)
optdepends=("linux: most of the monitors require Linux's procfs or sysfs"
"curl: for Internet services"
"python-pyalsaaudio: for ALSA volume control"
"hdparm: hdparm: for hdparm support"
"python-pytz: for timezone support"
"python-sysv-ipc: for ropty example"
"iputils: for ping support"
"inotify-tools: for inotify support"
"alarm: for limiting the time of a file search in locks"
"findutils: for file search in locks"
"graphicsmagick: for image support"
"imagemagick: for image support"
"file: for image support"
"librsvg: for image support")
makedepends=(make coreutils sed zip)
source=($url/archive/$pkgver.tar.gz)
sha256sums=(db33ec28902f0885743fa05e604c07ff429c5a99cfdb14ab0b84e1ce9db7176c)
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"
}
|