summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5c6de782a9d381ce83b6e341003900a6c97aa1d0 (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
# Maintainer Victor Roest <victor@xirion.net>

pkgname=xcursor-breeze-neutral-git
pkgver=r9.08f15b2
pkgrel=2
pkgdesc="Neutral fork of KDEs Breeze Cursor"
url="https://github.com/TheScrawl/xcursor-breeze-neutral"
makedepends=('git')
depends=('libxcursor')
provides=('xcursor-breeze-neutral')
source=(git+https://github.com/TheScrawl/xcursor-breeze-neutral)
sha256sums=('SKIP')
arch=(any)

pkgver() {
  cd "xcursor-breeze-neutral"
  ( set -o pipefail
    git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
  )
}

package() {
    install -dm755 "$pkgdir"/usr/share/icons/
    cp -r ${srcdir}/xcursor-breeze-neutral $pkgdir/usr/share/icons/
}