blob: bf17377d9133c3f57ccb38783ebe5a04b2e9a768 (
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
|
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Soothing pastel mouse cursors"
HOMEPAGE="https://github.com/catppuccin"
MY_URI="https://github.com/catppuccin/cursors/releases/download/v${PV}"
MY_TYPES=("latte" "frappe" "mocha" "macchiato")
MY_COLORS=(
"blue" "dark" "flamingo" "green" "lavender" "light" "maroon"
"mauve" "peach" "pink" "red" "rosewater" "sapphire" "sky" "teal" "yellow"
)
SRC_URI=""
for type in "${MY_TYPES[@]}"; do
for color in "${MY_COLORS[@]}"; do
SRC_URI+=" ${MY_URI}/catppuccin-${type}-${color}-cursors.zip -> ${P}-${type}-${color}.zip"
done
done
S="${WORKDIR}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
BDEPEND="app-arch/unzip"
src_install() {
insinto "/usr/share/icons"
for folder in * ; do
if [[ -d "${folder}" ]]; then
doins -r "${folder}"
fi
done
}
|