summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a78c581157e1a25fdca0e63796fc56a9bbff502a (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: "Amhairghin" Oscar Garcia Amor (https://ogarcia.me)

_pkgname=numix-cursor-theme
pkgname=${_pkgname}-git
pkgver=r37.d237ecd
pkgrel=1
pkgdesc="Numix cursor theme for Linux"
arch=('any')
url="https://numixproject.github.io"
license=('GPL3')
makedepends=('git' 'inkscape' 'xorg-xcursorgen')
source=("${_pkgname}"::"git+https://github.com/numixproject/${_pkgname}.git")
sha256sums=('SKIP')

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

build() {
  cd "${_pkgname}"
  ./build.sh
}

package() {
  cd "${_pkgname}"
  install -dm 755 "${pkgdir}/usr/share/icons"
  cp -dr --no-preserve='ownership' Numix-Cursor{,-Light} "${pkgdir}/usr/share/icons"
}