nevaforget ea44cb33c4
All checks were successful
Build and publish packages / build-and-publish (push) Successful in 12m8s
chore: bump pkgrel for moongreet/moonset/sweet-cursors
Trigger build-and-publish for three packages never uploaded to the
Arch registry. Prior CI runs for these failed before the makedepends
fix landed.
2026-04-20 13:36:05 +02:00

31 lines
835 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
pkgver=r1.4b49c35
pkgrel=2
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"
}