From 57ed96b7ea72d1f033a7f1f9b60953e36f7381b0 Mon Sep 17 00:00:00 2001 From: kj-sh604 Date: Sun, 30 Jun 2024 07:11:40 -0400 Subject: kj-gitbot: adwaita-cursor-theme/ --- adwaita-cursor-theme/.SRCINFO | 29 +++++++++++++++++++++++++++ adwaita-cursor-theme/.gitignore | 4 ++++ adwaita-cursor-theme/PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 76 insertions(+) create mode 100644 adwaita-cursor-theme/.SRCINFO create mode 100644 adwaita-cursor-theme/.gitignore create mode 100644 adwaita-cursor-theme/PKGBUILD (limited to 'adwaita-cursor-theme') diff --git a/adwaita-cursor-theme/.SRCINFO b/adwaita-cursor-theme/.SRCINFO new file mode 100644 index 0000000..53d2149 --- /dev/null +++ b/adwaita-cursor-theme/.SRCINFO @@ -0,0 +1,29 @@ +pkgbase = adwaita-icon-theme + pkgdesc = GNOME standard icons + pkgver = 44.0 + pkgrel = 2 + url = https://gitlab.gnome.org/GNOME/adwaita-icon-theme + arch = any + license = LGPL3 + license = CCPL:by-sa + makedepends = git + makedepends = gtk3 + makedepends = meson + depends = gtk-update-icon-cache + depends = hicolor-icon-theme + depends = librsvg + source = git+https://gitlab.gnome.org/GNOME/adwaita-icon-theme.git + b2sums = SKIP + +pkgname = adwaita-icon-theme + depends = gtk-update-icon-cache + depends = hicolor-icon-theme + depends = librsvg + depends = adwaita-cursors + provides = adwaita-icon-theme + conflicts = adwaita-icon-theme + +pkgname = adwaita-cursors + pkgdesc = GNOME standard cursors + provides = adwaita-cursors + conflicts = adwaita-cursors diff --git a/adwaita-cursor-theme/.gitignore b/adwaita-cursor-theme/.gitignore new file mode 100644 index 0000000..713f6f8 --- /dev/null +++ b/adwaita-cursor-theme/.gitignore @@ -0,0 +1,4 @@ +/* +!/.gitignore +!/.SRCINFO +!/PKGBUILD 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 + +_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/" +} -- cgit v1.2.3