From 507373b88b1b02206145fc7688c48916040976c9 Mon Sep 17 00:00:00 2001 From: tinywrkb Date: Sun, 1 Aug 2021 01:18:21 +0300 Subject: [PATCH] set as the default cursor theme --- trunk/PKGBUILD | 11 ++++++++--- trunk/cursor.theme | 2 ++ 2 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 trunk/cursor.theme diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD index 0b96be5..d9e3580 100644 --- a/trunk/PKGBUILD +++ b/trunk/PKGBUILD @@ -4,7 +4,7 @@ pkgname=adwaita-icon-theme pkgver=40.1.1 -pkgrel=1 +pkgrel=2 pkgdesc="GNOME standard icons" url="https://gitlab.gnome.org/GNOME/adwaita-icon-theme" arch=(any) @@ -12,8 +12,10 @@ license=(LGPL3 CCPL:by-sa) depends=(hicolor-icon-theme gtk-update-icon-cache librsvg) makedepends=(git gtk3) _commit=ebbcbb101b76a7403a30e116b28a85a79bb09f26 # tags/40.1.1^0 -source=("git+https://gitlab.gnome.org/GNOME/adwaita-icon-theme.git#commit=$_commit") -sha256sums=('SKIP') +source=("git+https://gitlab.gnome.org/GNOME/adwaita-icon-theme.git#commit=$_commit" + 'cursor.theme') +sha256sums=('SKIP' + 'bff9ae0be49dbabdd040a4e3ed1d5c756dae6792fb2a4fb60b9ee7657e413c65') pkgver() { cd $pkgname @@ -39,4 +41,7 @@ check() { package() { cd $pkgname make DESTDIR="$pkgdir" install + + # set as the default cursor theme + install -Dm644 cursor.theme ${pkgdir}/usr/share/icons/default/index.theme } diff --git a/trunk/cursor.theme b/trunk/cursor.theme new file mode 100644 index 0000000..d5a4650 --- /dev/null +++ b/trunk/cursor.theme @@ -0,0 +1,2 @@ +[icon theme] +Inherits=Adwaita -- 2.32.0