Files
moonarch-pkgbuilds/sweet-cursors-git/PKGBUILD
T
nevaforget e7398d479e
Build and publish packages / build-and-publish (push) Failing after 32m18s
chore: bump epoch on moongreet-git and sweet-cursors-git
Local AUR/older builds outsort the registry versions on pacman vercmp:

- sweet-cursors-git: paru-built r445 (Gigas002/Sweet#cursors) > registry
  r1 (our snapshot fork). Snapshot stays frozen by design.
- moongreet-git: pre-rollback 0.10.0 > current 0.8.6 (upstream tag
  history continued at 0.8.4–0.8.6 on top of an earlier 0.10.0 line).

epoch=1 on both, pkgrel bumped to retrigger CI. Also extends .gitignore
to cover the remaining makepkg bare-clone dirs (moongreet, moonlock,
moonset, sshfs_connect) that weren't listed before.
2026-04-28 09:04:14 +02:00

32 lines
843 B
Bash

# ABOUTME: PKGBUILD for Sweet-cursors — cursor theme from the Sweet project.
# ABOUTME: Installs the cursor theme to /usr/share/icons/Sweet-cursors.
# Maintainer: Dominik Kressler
pkgname=sweet-cursors-git
epoch=1
pkgver=r1.4b49c35
pkgrel=3
pkgdesc="Sweet cursor theme"
arch=('any')
url="https://gitea.moonarch.de/nevaforget/Sweet-cursors"
license=('GPL3')
makedepends=('git')
provides=('sweet-cursors')
conflicts=('sweet-cursors')
source=("git+${url}.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/Sweet-cursors"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir"
install -dm755 "$pkgdir/usr/share/icons"
cp -r Sweet-cursors "$pkgdir/usr/share/icons/"
# Remove .git directory from installed files
rm -rf "$pkgdir/usr/share/icons/Sweet-cursors/.git"
}