blob: f4a2f709855bdaaee42cb68b832149293fc9a775 (
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: Your Name <you@example.com>
pkgname=dankmaterialshell-git
pkgver=r0.g0000000
pkgrel=6
pkgdesc='A Quickshell-based desktop shell with Material 3 design principles'
arch=('any')
url='https://github.com/AvengeMedia/DankMaterialShell'
license=('GPL-3.0-only')
depends=(
'quickshell-git'
'dgop'
'ttf-material-symbols-variable-git'
'inter-font'
'ttf-fira-code'
)
optdepends=(
'networkmanager: Required for network management'
'matugen-bin: Dynamic wallpaper-based theming'
'brightnessctl: Laptop display brightness control'
'wl-clipboard: Copy functionality for PIDs and other elements'
'cliphist: Clipboard history functionality'
'cava: Audio visualizer'
'qt5ct: Qt5 application theming'
'qt6ct: Qt6 application theming'
)
makedepends=('git')
provides=('dankmaterialshell')
conflicts=('dankmaterialshell')
source=("$pkgname::git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}"
if git describe --tags --long 2>/dev/null | grep -q .; then
git describe --tags --long | sed 's/^v//; s/-/./g'
else
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
fi
}
package() {
cd "${srcdir}/${pkgname}"
# Install shell files to quickshell config directory
install -dm755 "$pkgdir/etc/xdg/quickshell/DankMaterialShell"
cp -r ./* "$pkgdir/etc/xdg/quickshell/DankMaterialShell/"
# Install documentation
install -Dm644 README.md "$pkgdir/usr/share/doc/dankmaterialshell/README.md"
# Remove git files from installation
rm -rf "$pkgdir/etc/xdg/quickshell/DankMaterialShell/.git"*
}
|