# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com>
# Contributor: Lee.MaRS <leemars@gmail.com>
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=xcursor-flatbed
pkgver=0.4
pkgrel=3
pkgdesc="Flatbed XCursor Theme"
arch=('any')
url="https://www.limitland.de/flatbedcursors.html"
license=('GPL3')
makedepends=('git' 'xorg-xcursorgen' 'librsvg' 'bc')
source=("git+https://gitlab.com/limitland/flatbedcursors.git#tag=v$pkgver")
md5sums=('SKIP')

package() {
  cd "$srcdir/flatbedcursors"

  export ICONSDIR="$pkgdir/usr/share/icons/"
  mkdir -p "$pkgdir/usr/share/icons/"
  ./install-all
}
