Add moonarch-git and sweet-cursors-git PKGBUILDs
moonarch-git packages all desktop environment defaults (XDG configs, helper scripts, zsh config, wallpaper) for pacman-managed deployment. Includes moonarch-update for simplified system maintenance. sweet-cursors-git packages the Sweet cursor theme separately.
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
# 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=0
|
||||
pkgrel=1
|
||||
pkgdesc="Sweet cursor theme"
|
||||
arch=('any')
|
||||
url="https://github.com/EliverLara/Sweet"
|
||||
license=('GPL3')
|
||||
makedepends=('git')
|
||||
provides=('sweet-cursors')
|
||||
conflicts=('sweet-cursors')
|
||||
source=("git+${url}.git")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "$srcdir/Sweet"
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/Sweet"
|
||||
install -dm755 "$pkgdir/usr/share/icons"
|
||||
cp -r kde/cursors/Sweet-cursors "$pkgdir/usr/share/icons/"
|
||||
}
|
||||
Reference in New Issue
Block a user