summaryrefslogtreecommitdiffstats
path: root/adwaita-cursor-theme/PKGBUILD
diff options
context:
space:
mode:
authorkj-sh6042024-06-30 07:11:40 -0400
committerkj-sh6042024-06-30 07:11:40 -0400
commit57ed96b7ea72d1f033a7f1f9b60953e36f7381b0 (patch)
tree895bd1ad0f81bf0602081db4a5856207da678481 /adwaita-cursor-theme/PKGBUILD
kj-gitbot: adwaita-cursor-theme/
Diffstat (limited to 'adwaita-cursor-theme/PKGBUILD')
-rw-r--r--adwaita-cursor-theme/PKGBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/adwaita-cursor-theme/PKGBUILD b/adwaita-cursor-theme/PKGBUILD
new file mode 100644
index 0000000..3b97f65
--- /dev/null
+++ b/adwaita-cursor-theme/PKGBUILD
@@ -0,0 +1,43 @@
+# Maintainer: éclairevoyant
+# Contributor: Philip Goto <philip dot goto at gmail.com>
+
+_pkgname=adwaita-icon-theme
+pkgbase="$_pkgname"
+pkgname=("$pkgbase" adwaita-cursors)
+pkgver=44.0
+pkgrel=2
+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')
+
+prepare() {
+ arch-meson $_pkgname build
+}
+
+build() {
+ meson compile -C build
+}
+
+package_adwaita-icon-theme() {
+ depends+=('adwaita-cursors')
+ provides=("$_pkgname")
+ conflicts=("$_pkgname")
+
+ meson install -C build --destdir "$pkgdir"
+ rm -rf "$pkgdir/usr/share/icons/Adwaita/cursors/"
+}
+
+package_adwaita-cursors() {
+ 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/"
+}