summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 32f7c3683bd6b315580b1479c611dcf785c983a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Nico <d3sox at protonmail dot com>
pkgname="whitesur-cursor-theme-git"
_gitname=WhiteSur-cursors
pkgver=r6.2cb7219
pkgrel=2
pkgdesc="WhiteSur cursors theme for linux desktops"
arch=("any")
makedepends=('git')
provides=('whitesur-cursor-theme')
url="https://github.com/vinceliuice/${_gitname}"
license=('GPL3')
source=("git+${url}.git")
sha256sums=('SKIP')

pkgver() {
  cd "${srcdir}/${_gitname}"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  mkdir -p "${pkgdir}/usr/share/icons/"
  cp -pr "${srcdir}/${_gitname}/dist" "${pkgdir}/usr/share/icons/${_gitname}"
}