# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=capitaine-cursors
pkgver=4
pkgrel=1
pkgdesc="An x-cursor theme inspired by macOS and based on KDE Breeze"
url="https://github.com/keeferrourke/capitaine-cursors"
arch="noarch"
license="LGPL-3.0-or-later"
makedepends="bash inkscape xcursorgen"
options="!check"
source="https://github.com/keeferrourke/capitaine-cursors/archive/r$pkgver.tar.gz
	r4_to_master.patch"
builddir="$srcdir"/$pkgname-r$pkgver

build() {
	./build.sh
}

package() {
	mkdir -p "$pkgdir"/usr/share/icons/
	cp -a dist/dark "$pkgdir"/usr/share/icons/capitaine-cursors-dark/
}

sha512sums="
733867cd534b72b78f246e3f4ed5cef9f8edf92700e21d8d2ce158d3e624cacc8a19d8b0f6e39d0405e8b5976bc79314262d9537167d52e2b048088cbf15a9a9  r4.tar.gz
73396c1eed237f4a21af01c358c55b5e8d502c760f7b1554bd56feff4adf03774246ad577d837520bc9a98dddc8213bb06a8c055ce3c42eb9d02eba25dd0533e  r4_to_master.patch
"
