summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cacf7b7ac51667ae59e58af8e4e8a5e48e062979 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: spookyintheam <spookyintheam@proton.me>

_pkgname='catppuccin-cursors'
pkgname=${_pkgname}-git
pkgver=0.2.0.r0.g31a2848
pkgrel=1
pkgdesc="Soothing pastel mouse cursors"
arch=('any')
url="https://github.com/catppuccin/cursors"
license=('GPL2')
makedepends=('inkscape' 'xorg-xcursorgen')   
conflicts=("$_pkgname-mocha" "$_pkgname-macchiato" "$_pkgname-frappe" "$_pkgname-latte")
source=("$_pkgname::git+$url.git")
sha256sums=('SKIP')

pkgver() {
	cd "$srcdir/$_pkgname"
  git describe --long --tags | sed 's/^.*v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
	cd "$srcdir/$_pkgname"
	make build
}

package() {
	cd "$srcdir/$_pkgname"
  make install DESTDIR="$pkgdir"
}