blob: 062173777702aeb59dd4092ff766b67abaee0766 (
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
|
# Maintainer: tim <goal10derphone@gmail.com>
pkgname=klear
_pkgname=klear
pkgver=r131.7651d55
pkgrel=1
pkgdesc='A minimal Hyprland status bar in Kotlin/Native (tray, popup menus, battery, glassy refraction, session lock)'
arch=('x86_64')
url='https://codeberg.org/goal10der/klearShell'
license=('MIT')
depends=(
'wayland'
'mesa'
'libglvnd'
'glibc'
'pam'
)
optdepends=(
'hyprland: the compositor klear is designed for'
'ttf-dejavu: fallback font if AdwaitaSans is unavailable'
)
backup=('etc/pam.d/klear')
makedepends=(
'git'
'gcc'
'kotlin-native-bin'
'wayland-protocols'
)
source=(
"$_pkgname::git+$url.git"
'nanovg::git+https://github.com/memononen/nanovg.git'
)
sha256sums=('SKIP' 'SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "$srcdir/$_pkgname"
rm -rf lib/nanovg
ln -sfT "$srcdir/nanovg" lib/nanovg
}
build() {
cd "$srcdir/$_pkgname"
make
}
package() {
cd "$srcdir/$_pkgname"
make DESTDIR="$pkgdir" PREFIX=/usr install
}
|