blob: d2f5ae0f4c803346469fdaee547e540fe98f013c (
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
|
# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
pkgname=('fluent-icon-theme-git' 'fluent-round-icon-theme-git' 'fluent-black-icon-theme-git' 'fluent-cursor-theme-git')
pkgbase=fluent-icon-theme-git
pkgver=2022.11.05.r3.g36702f7
pkgrel=1
pkgdesc="A Fluent design icon theme"
arch=('any')
url="https://www.pling.com/p/1477945"
license=('GPL3')
depends=('hicolor-icon-theme' 'gtk-update-icon-cache')
makedepends=('git')
options=('!strip')
source=('git+https://github.com/vinceliuice/Fluent-icon-theme.git')
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/Fluent-icon-theme"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "$srcdir/Fluent-icon-theme"
# Disable running gtk-update-icon-cache
sed -i '/gtk-update-icon-cache/d' install.sh
}
package_fluent-icon-theme-git() {
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
cd "$srcdir/Fluent-icon-theme"
install -d "$pkgdir/usr/share/icons"
./install.sh -a -d "$pkgdir/usr/share/icons"
}
package_fluent-round-icon-theme-git() {
pkgdesc+=" (round version)"
provides=("${pkgname%-git}" 'fluent-icon-theme')
conflicts=("${pkgname%-git}" 'fluent-icon-theme')
cd "$srcdir/Fluent-icon-theme"
./install.sh -a -d "$pkgdir/usr/share/icons" -r
}
package_fluent-black-icon-theme-git() {
pkgdesc+=" (black version)"
provides=("${pkgname%-git}" 'fluent-icon-theme')
conflicts=("${pkgname%-git}" 'fluent-icon-theme')
cd "$srcdir/Fluent-icon-theme"
./install.sh -a -d "$pkgdir/usr/share/icons" -b
}
package_fluent-cursor-theme-git() {
pkgdesc="An x-cursor theme inspired by Qogir theme and based on capitaine-cursors."
url="https://www.pling.com/p/1499852"
depends=('libxcursor')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
cd "$srcdir/Fluent-icon-theme/cursors"
install -d "$pkgdir/usr/share/icons"
cp -r dist "$pkgdir/usr/share/icons/Fluent-cursors"
cp -r dist-dark "$pkgdir/usr/share/icons/Fluent-dark-cursors"
}
|