blob: 34f1de35dfc243bb42008f7e5e326f2e773187e9 (
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: cat_nm
pkgname=ags-hyprpanel-git
pkgver=r386.c10c9d0
pkgrel=1
pkgdesc="A Bar/Panel for Hyprland with extensive customizability"
arch=('x86_64')
url="https://hyprpanel.com/"
license=('MIT')
install='hyprpanel.install'
depends=(
# official repository:
'pipewire'
'libgtop'
'bluez'
'bluez-utils'
'btop'
'networkmanager'
'dart-sass'
'wl-clipboard'
'brightnessctl'
'swww'
'gnome-bluetooth-3.0'
'libdbusmenu-gtk3'
# aur:
'grimblast-git'
'gpu-screen-recorder'
'hyprpicker'
'matugen-bin'
'aylurs-gtk-shell'
'bun-bin'
)
makedepends=(
'unzip'
'git'
)
optdepends=(
'python: GPU usage tracking (NVidia only)'
'python-gpustat: GPU usage tracking (NVidia only)'
'pywal: Pywal hook for wallpapers'
'pacman-contrib: Checking for pacman updates'
'power-profiles-daemon: Switch power profiles'
)
source=('git+https://github.com/Jas-SinghFSU/HyprPanel.git#branch=master')
sha256sums=('SKIP')
prepare() {
cd "$srcdir/HyprPanel"
./make_agsv1.sh
}
pkgver() {
cd "$srcdir/HyprPanel"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
package() {
cd "$srcdir/HyprPanel"
# install fonts
install -dm755 "$pkgdir/usr/share/fonts/NFP"
cp -r "$srcdir/HyprPanel/assets/fonts/"* "$pkgdir/usr/share/fonts/NFP/"
fc-cache -fv
# Install HyprPanel into /usr/share/HyprPanel
install -dm755 "$pkgdir/usr/share/HyprPanel"
cp -r ./* "$pkgdir/usr/share/HyprPanel/"
# License
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
}
|