| 1 | # Contributor: Daniil Nemtsev <[email protected]> |
| 2 | # Maintainer: Daniil Nemtsev <[email protected]> |
| 3 | pkgname=cz-viator-hourglass-black |
| 4 | pkgver=20210706 |
| 5 | pkgrel=1 |
| 6 | pkgdesc="A X11 cursor theme inspired by the classical DMZ theme." |
| 7 | url="https://github.com/charakterziffer/cursor-toolbox" |
| 8 | arch="noarch" |
| 9 | license="GPL-3.0-only" |
| 10 | makedepends="python3 inkscape xcursorgen font-liberation" |
| 11 | options="!check" # no tests |
| 12 | _gitrev=02a7977b3d009525c95787c756fce8d824960e4c |
| 13 | source="$pkgname-$_gitrev.tar.gz::https://github.com/charakterziffer/cursor-toolbox/archive/$_gitrev.tar.gz |
| 14 | py3.patch |
| 15 | " |
| 16 | builddir="$srcdir"/cursor-toolbox-$_gitrev |
| 17 | |
| 18 | build() { |
| 19 | python3 render-pngs.py svgs/template-black.svg |
| 20 | python3 render-pngs.py svgs/spinner-hourglass.svg |
| 21 | ./make.sh |
| 22 | } |
| 23 | |
| 24 | package() { |
| 25 | mkdir -p "$pkgdir"/usr/share/icons/$pkgname |
| 26 | cp -r My-Cursor-Theme/* "$pkgdir"/usr/share/icons/"$pkgname" |
| 27 | } |
| 28 | |
| 29 | sha512sums=" |
| 30 | cdeed1b5edeb071fe61d0b4ea8c7e324f24a17540f975f7213af6f9d9682ea2569e4b3a8427258c21f80dc969c8705f814f52d8212f2a9419e6bb9227e0d6244 cz-viator-hourglass-black-02a7977b3d009525c95787c756fce8d824960e4c.tar.gz |
| 31 | ae16551659b5334161f73cbac6430a1fdd6e6f4f134dc8dcfd616d577e751ecc77c59145bafca459aafc1461a7ae60d6aa142d6f9fd4b091c81717450fee62cc py3.patch |
| 32 | " |