blob: b3aa58604b8e229388c713afa6db5d3e118b7c37 (
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
|
# Maintainer: éclairevoyant
# Contributor: Philip Goto <philip dot goto at gmail.com>
_pkgname=adwaita-icon-theme
pkgbase="$_pkgname-git"
pkgname=("$pkgbase" adwaita-cursors-git)
pkgver=44.0.r44.ge1528589b
pkgrel=1
pkgdesc='GNOME standard icons'
arch=(any)
url="https://gitlab.gnome.org/GNOME/$_pkgname"
license=(LGPL3 CCPL:by-sa)
depends=(gtk-update-icon-cache hicolor-icon-theme librsvg)
makedepends=(git gtk3 meson)
source=("git+$url.git")
b2sums=('SKIP')
pkgver() {
git -C $_pkgname describe --long --tags | sed 's/[^-]*-g/r&/;s/-/./g'
}
prepare() {
arch-meson $_pkgname build
}
build() {
meson compile -C build
}
package_adwaita-icon-theme-git() {
depends+=('adwaita-cursors')
provides=("$_pkgname")
conflicts=("$_pkgname")
meson install -C build --destdir "$pkgdir"
rm -rf "$pkgdir/usr/share/icons/Adwaita/cursors/"
}
package_adwaita-cursors-git() {
pkgdesc='GNOME standard cursors'
unset depends
provides=('adwaita-cursors')
conflicts=('adwaita-cursors')
install -dm755 "$pkgdir/usr/share/icons/Adwaita/"
cp -r --no-preserve=ownership $_pkgname/Adwaita/cursors "$pkgdir/usr/share/icons/Adwaita/"
}
|