blob: 0a8441e03c51d7d6a5fd8e4e5c90d475b23073e7 (
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
# Maintainer: Eric Engestrom <aur [at] engestrom [dot] ch>
# Contributor: matoro <matoro@airmail.cc>
# Contributor: hashworks <mail@hashworks.net>
pkgname=i3blocks-contrib
pkgver=2.0.0
pkgrel=1
pkgdesc="Community-contributed blocklets for i3blocks"
arch=('any')
groups=('i3')
url="https://github.com/vivien/i3blocks-contrib"
license=('GPL3')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha256sums=('3fd88430b0348f4621629cde99c6155441429b117e5721c9b52308f6a5d7c7a6')
# Please keep those ordered by script-name. Packages for more than 2 scripts go on top
optdepends=('coreutils: For some scripts'
'python3: For some scripts'
'perl: For some scripts'
'ttf-font-awesome: For some scripts'
'awk: For some scripts'
'glibc: For some scripts'
'iproute2: For some network scripts'
'openafs: For afs script'
'pacman-contrib: For arch-update script'
'python-requests: For aur-update script'
'libnotify: For aur-update script'
'acpi: For battery scripts'
'yad: For calendar script'
'xdotool: For calendar script'
'sysstat: For cpu_usage & disk-io script'
'docker: For docker script'
'python-keyring: For email script'
'gnome-keyring: For email script'
'wireless_tools: For essid script'
'nvidia-settings: For gpu-load script'
'xorg-setxkbmap: For key_layout script'
'procps-ng: For keyindicator script'
'kubectl: For kubernetes script'
'spotify: For mediaplayer script'
'vlc: For mediaplayer script'
'audacious: For mediaplayer script'
'xmms2: For mediaplayer script'
'mplayer: For mediaplayer script'
'mpc: For mediaplayer script'
'cmus: For mediaplayer script'
'rhythmbox: For mediaplayer script'
'xorg-xrandr: For monitor_manager script'
'arandr: For monitor_manager script'
'networkmanager: For nm-vpn script'
'openvpn: For openvpn script'
'rofi: For rofi-calendar & shutdown_menu script'
'util-linux: For rofi-calendar & usb script'
'zenity: For shutdown_menu script'
'systemd: For shutdown_menu script'
'curl: For tahoe-lafs script'
'jq: For tahoe-lafs script'
'tahoe-lafs: For tahoe-lafs script'
'lm_sensors: For temperature script'
'pulseaudio: For pulseaudio & volume script'
'alsa-utils: For pulseaudio & volume script'
'iw: For wlan-dbm script'
'mpv: For ytdl-mpv script'
'xclip: For ytdl-mpv script'
'youtube-dl: For ytdl-mpv script')
package() {
install -Dm644 "${pkgname}-${pkgver}/LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
install -dm755 "${pkgdir}/usr/lib/i3blocks/"
mv "${pkgname}-${pkgver}"/* "${pkgdir}/usr/lib/i3blocks/"
}
|