blob: e47e3d1e056fe6196d1218f8997299bf46243b91 (
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
|
# Maintainer: Callum Osmotherly <acheronfail@gmail.com>
pkgname=i3stat-bin
pkgver=0.10.0
pkgrel=1
pkgdesc="A lightweight and batteries-included status_command for i3 and sway"
arch=('x86_64')
url="https://github.com/acheronfail/i3stat"
license=('GPL-3.0-only')
depends=('gcc-libs')
optdepends=(
'dbus: sending notifications'
'dunst: showing if notifications are paused or not via dunst'
'i3-wm: use it as the i3 status_command'
)
source=("${pkgname%-bin}-${pkgver}.zip::$url/releases/download/${pkgver}/${pkgname%-bin}-x86_64-unknown-linux-gnu.zip")
sha512sums=('f1ae186a5fd00694912603bdf4cb0d1a10643a7fb4a239f287b4148b7e6e8d3d0f925bc0cdb6465170a392ab4c5d8a3aaaaaac6dd35880acc2f440c4b99cd624')
package() {
cd "${pkgname%-bin}-x86_64-unknown-linux-gnu"
install -Dm755 "i3stat" "$pkgdir/usr/bin/i3stat"
install -Dm755 "i3stat-ipc" "$pkgdir/usr/bin/i3stat-ipc"
install -Dm755 "i3stat-acpi" "$pkgdir/usr/bin/i3stat-acpi"
install -Dm755 "i3stat-signals" "$pkgdir/usr/bin/i3stat-signals"
install -Dm755 "i3stat-sensors" "$pkgdir/usr/bin/i3stat-sensors"
install -Dm644 "doc/i3stat.1" "$pkgdir/usr/share/man/man1/i3stat.1"
install -Dm644 "doc/i3stat-acpi.1" "$pkgdir/usr/share/man/man1/i3stat-acpi.1"
install -Dm644 "doc/i3stat-ipc.1" "$pkgdir/usr/share/man/man1/i3stat-ipc.1"
install -Dm644 "doc/i3stat-ipc-click.1" "$pkgdir/usr/share/man/man1/i3stat-ipc-click.1"
install -Dm644 "doc/i3stat-ipc-custom.1" "$pkgdir/usr/share/man/man1/i3stat-ipc-custom.1"
install -Dm644 "doc/i3stat-ipc-get-bar.1" "$pkgdir/usr/share/man/man1/i3stat-ipc-get-bar.1"
install -Dm644 "doc/i3stat-ipc-get-config.1" "$pkgdir/usr/share/man/man1/i3stat-ipc-get-config.1"
install -Dm644 "doc/i3stat-ipc-get-theme.1" "$pkgdir/usr/share/man/man1/i3stat-ipc-get-theme.1"
install -Dm644 "doc/i3stat-ipc-info.1" "$pkgdir/usr/share/man/man1/i3stat-ipc-info.1"
install -Dm644 "doc/i3stat-ipc-refresh-all.1" "$pkgdir/usr/share/man/man1/i3stat-ipc-refresh-all.1"
install -Dm644 "doc/i3stat-ipc-set-theme.1" "$pkgdir/usr/share/man/man1/i3stat-ipc-set-theme.1"
install -Dm644 "doc/i3stat-ipc-shutdown.1" "$pkgdir/usr/share/man/man1/i3stat-ipc-shutdown.1"
install -Dm644 "doc/i3stat-ipc-signal.1" "$pkgdir/usr/share/man/man1/i3stat-ipc-signal.1"
install -Dm644 "doc/i3stat-sensors.1" "$pkgdir/usr/share/man/man1/i3stat-sensors.1"
install -Dm644 "doc/i3stat-signals.1" "$pkgdir/usr/share/man/man1/i3stat-signals.1"
install -Dm644 "README.md" "$pkgdir/usr/share/doc/${pkgname}/README.md"
install -Dm644 "sample_config.toml" "$pkgdir/usr/share/doc/${pkgname}/sample_config.toml"
install -Dm644 "sample_included_config.toml" "$pkgdir/usr/share/doc/${pkgname}/sample_included_config.toml"
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
}
|