blob: 0d4e4e33f3f2706f9c3eca9f2508ad790511e51b (
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
|
pkgname=quickshell-overview-git
pkgver=r18.272b4e7
pkgrel=1
pkgdesc="A standalone workspace overview module for Hyprland using Quickshell"
arch=('any')
url="https://github.com/Shanu-Kumawat/quickshell-overview"
depends=('quickshell')
optdepends=(
'hyprland: The compositor this module is designed for'
'matugen: For dynamic color generation based upon wallpaper'
)
makedepends=('git')
provides=("qs-overview")
conflicts=("qs-overview")
source=(
"${pkgname}::git+https://github.com/Shanu-Kumawat/quickshell-overview.git"
"qs-overview.sh"
)
sha256sums=(
'SKIP'
'SKIP'
)
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$pkgname"
# Define the target directory
local _dest="$pkgdir/etc/xdg/quickshell/overview"
install -d "$_dest"
# Copy all files to the destination
cp -a ./* "$_dest/"
# Remove git-related files from the package
rm -rf "$_dest/.git"
install -Dm755 "$srcdir/qs-overview.sh" "$pkgdir/usr/bin/qs-overview"
# Install the license file if it exists (assuming MIT/LICENSE)
# install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|