summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7bbea082868063bdb478c1ff61e0a5a95333d079 (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
# Maintainer: timescam <timescam at duck dot com>
pkgname=dracula-cursors-git
_pkgname=gtk
pkgver=v3.0.r5.gfa54bba
pkgrel=1
pkgdesc="Dracula theme cursors"
arch=("any")
url="https://github.com/dracula/${_pkgname}"
license=("GPL3")
provides=("dracula-cursors")
makedepends=("git")
source=("git+https://github.com/dracula/${_pkgname}.git")
sha256sums=("SKIP")

pkgver() {
  cd "${srcdir}/${_pkgname}"
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}


package() {
  cd "${_pkgname}/kde"
  mkdir -p "${pkgdir}/usr/share/icons"
  cp -r cursors/Dracula-cursors "${pkgdir}/usr/share/icons"
}