Package Details: qogir-cursor-theme-git r297.0b909051-1

Git Clone URL: https://aur.archlinux.org/qogir-cursor-theme-git.git (read-only, click to copy)
Package Base: qogir-cursor-theme-git
Description: An x-cursor theme inspired by Qogir theme and based on capitaine-cursors
Upstream URL: https://github.com/vinceliuice/Qogir-icon-theme
Licenses: GPL3
Provides: qogir-cursor-theme
Submitter: yukina
Maintainer: yukina
Last Packager: yukina
Votes: 1
Popularity: 0.58
First Submitted: 2023-08-31 18:59 (UTC)
Last Updated: 2024-10-29 19:50 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

yukina commented on 2024-10-29 20:04 (UTC)

@KuroBones Updated, thank you.

KuroBones commented on 2024-10-28 00:01 (UTC)

The package it's failing to build

cp: cannot stat 'dist-dark/': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
error: failed to build 'qogir-cursor-theme-git-r292.91880625-1': 
error: packages failed to build: qogir-cursor-theme-git-r292.91880625-1

It seems that the directories have been renamed in the latest commit to use title case instead, so is now dist-Dark instead of dist-dark and the same for the others.

diff --git a/PKGBUILD b/PKGBUILD
index 59e2d9f..f4fe927 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -23,9 +23,9 @@ package() {
   install -d "${pkgdir}/usr/share/icons/"
   cd "${srcdir}/${gitname}/src/cursors/"
   cp -r dist/ ${pkgdir}/usr/share/icons/Qogir-cursors/
-  cp -r dist-dark/ ${pkgdir}/usr/share/icons/Qogir-white-cursors/
-  cp -r dist-ubuntu/ ${pkgdir}/usr/share/icons/Qogir-ubuntu-cursors/
-  cp -r dist-ubuntu-dark/ ${pkgdir}/usr/share/icons/Qogir-ubuntu-white-cursors/
-  cp -r dist-manjaro/ ${pkgdir}/usr/share/icons/Qogir-manjaro-cursors/
-  cp -r dist-manjaro-dark/ ${pkgdir}/usr/share/icons/Qogir-manjaro-white-cursors/
+  cp -r dist-Dark/ ${pkgdir}/usr/share/icons/Qogir-white-cursors/
+  cp -r dist-Ubuntu/ ${pkgdir}/usr/share/icons/Qogir-ubuntu-cursors/
+  cp -r dist-Ubuntu-Dark/ ${pkgdir}/usr/share/icons/Qogir-ubuntu-white-cursors/
+  cp -r dist-Manjaro/ ${pkgdir}/usr/share/icons/Qogir-manjaro-cursors/
+  cp -r dist-Manjaro-Dark/ ${pkgdir}/usr/share/icons/Qogir-manjaro-white-cursors/
 }

yukina commented on 2023-12-26 19:21 (UTC)

Thanks, I have updated the PKGBUILD

a821 commented on 2023-10-10 11:10 (UTC)

Please do not use sudo in PKGBUILD. It is a security risk. You should review what the install.sh script does and copy the files to package in $pkgdir

See https://wiki.archlinux.org/title/Creating_packages