diff options
author | ghostx31 | 2023-01-12 19:14:00 +0530 |
---|---|---|
committer | ghostx31 | 2023-01-12 19:14:00 +0530 |
commit | 72c643c4950ac88842319e424cf676c9aa30dda5 (patch) | |
tree | 744f43a0b0e8d0070fd9906eca3e0d3d2b94261a /PKGBUILD | |
download | aur-catppuccin-cursors-git.tar.gz |
feat: add catppuccin cursors git package
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..cacf7b7ac516 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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" +} |