diff options
| author | kj-sh604 | 2025-01-14 07:52:44 -0500 |
|---|---|---|
| committer | kj-sh604 | 2025-01-14 07:52:44 -0500 |
| commit | 5e2194978743d60ba6bab8c6d71f0e7a724deac4 (patch) | |
| tree | 92250a574847abe50d154eba41fefccaf6b5447b | |
| parent | d07f9632dcd89213ce6e259dcbd12f6c50a42c71 (diff) | |
refactor: add zoom cursors to `xcursor-vide`
| -rw-r--r-- | xcursor-vide/.SRCINFO | 4 | ||||
| -rw-r--r-- | xcursor-vide/PKGBUILD | 6 | ||||
| -rw-r--r-- | xcursor-vide/VideCursors.install | 1 |
3 files changed, 9 insertions, 2 deletions
diff --git a/xcursor-vide/.SRCINFO b/xcursor-vide/.SRCINFO index f95d8e9..fe07255 100644 --- a/xcursor-vide/.SRCINFO +++ b/xcursor-vide/.SRCINFO @@ -1,8 +1,10 @@ pkgbase = xcursor-vide pkgdesc = Blank cursor theme to force the usage of the fallback X11 cursors (mIniMUHliSt uhuh). pkgver = 1 - pkgrel = 1 + pkgrel = 2 install = VideCursors.install arch = any + depends = adwaita-cursors + depends = adwaita-icon-theme pkgname = xcursor-vide diff --git a/xcursor-vide/PKGBUILD b/xcursor-vide/PKGBUILD index e3a3a9e..5956622 100644 --- a/xcursor-vide/PKGBUILD +++ b/xcursor-vide/PKGBUILD @@ -2,12 +2,16 @@ pkgname=xcursor-vide pkgver=1 -pkgrel=1 +pkgrel=2 pkgdesc="Blank cursor theme to force the usage of the fallback X11 cursors (mIniMUHliSt uhuh)." arch=('any') install=VideCursors.install +depends=('adwaita-cursors' 'adwaita-icon-theme') package() { mkdir -p "${pkgdir}/usr/share/icons/VideCursors/cursors" touch "${pkgdir}/usr/share/icons/VideCursors/cursors/.empty" + # symlink zoom-in and zoom-out cursors (this does not exist as fallback X11 cursors) + ln -s "/usr/share/icons/Adwaita/cursors/zoom-in" "${pkgdir}/usr/share/icons/VideCursors/cursors/zoom-in" + ln -s "/usr/share/icons/Adwaita/cursors/zoom-out" "${pkgdir}/usr/share/icons/VideCursors/cursors/zoom-out" } diff --git a/xcursor-vide/VideCursors.install b/xcursor-vide/VideCursors.install index 327064e..d242754 100644 --- a/xcursor-vide/VideCursors.install +++ b/xcursor-vide/VideCursors.install @@ -8,6 +8,7 @@ post_install() { } post_upgrade() { + post_remove post_install } |
