summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2f930fc9f878c6c7a4e7704f70e76f85450d43c0 (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
30
# Maintainer: Akatsuki Rui <akiirui@outlook.com>
# Contributor: goetzc
# Contributor: Philip Goto <philip.goto@gmail.com>
# Contributor: grimi

_pkgname=breeze
pkgname=xcursor-breeze-git
pkgver=6.0.1.r1.g3c901fd0
pkgrel=1
pkgdesc="KDE Plasma 5 'Breeze' cursor theme. This package is for usage in non-KDE Plasma desktops."
arch=('any')
depends=('libxcursor')
makedepends=('git')
url="https://github.com/KDE/breeze"
license=('GPL')
conflicts=('breeze' 'xcursor-breeze')
source=("git+https://github.com/KDE/breeze.git#branch=Plasma/6.0")
b2sums=('SKIP')

pkgver() {
  cd "$srcdir/$_pkgname"

  git describe --long --tags | sed "s/^v//;s/\([^-]*-g\)/r\1/;s/-/./g"
}

package() {
  install -dm755 "$pkgdir"/usr/share/icons/
  cp -r "$srcdir/$_pkgname"/cursors/Breeze/Breeze/ "$pkgdir"/usr/share/icons/
  cp -r "$srcdir/$_pkgname"/cursors/Breeze_Light/Breeze_Light/ "$pkgdir"/usr/share/icons/
}