# Contributor: Daniil Nemtsev # Maintainer: Daniil Nemtsev pkgname=simp1e-cursors pkgver=0_git20211003 pkgrel=0 pkgdesc="An aesthetic cursor theme for your Linux desktop" url="https://gitlab.com/zoli111/simp1e" # s390x, riscv64: missing librsvg makedepend arch="noarch !s390x !riscv64" license="GPL-3.0" makedepends="python3 py3-pillow librsvg xcursorgen" options="!check" # no tests _gitrev=6a9e969b0239a58fc96af787c4986c273eb6d0eb _buildscript=41878bf3d8efb3161d63bb2435b3aa2bdb7f7888 source="$pkgname-$_gitrev.tar.gz::https://gitlab.com/zoli111/simp1e/-/archive/$_gitrev/simp1e-$_gitrev.tar.gz buildscript-$_buildscript.tar.gz::https://github.com/mxre/cursor/archive/$_buildscript.tar.gz py3.patch " builddir="$srcdir"/simp1e-$_gitrev subpackages="$pkgname-dark $pkgname-breeze $pkgname-snow $pkgname-solarized" prepare() { default_prepare mv "$srcdir"/cursor-$_buildscript/* "$builddir"/builder_script } build() { ./build.sh } package() { mkdir -p "$pkgdir"/usr/share/icons mv built_themes/* "$pkgdir"/usr/share/icons/ mv "$pkgdir"/usr/share/icons/Simp1e "$pkgdir"/usr/share/icons/"$pkgname" } dark() { mkdir -p "$subpkgdir"/usr/share/icons mv "$pkgdir"/usr/share/icons/Simp1e-dark "$subpkgdir"/usr/share/icons/"$pkgname"-dark } breeze() { mkdir -p "$subpkgdir"/usr/share/icons mv "$pkgdir"/usr/share/icons/Simp1e-breeze "$subpkgdir"/usr/share/icons/"$pkgname"-breeze } snow() { mkdir -p "$subpkgdir"/usr/share/icons mv "$pkgdir"/usr/share/icons/Simp1e-breeze-snow "$subpkgdir"/usr/share/icons/"$pkgname"-snow } solarized() { mkdir -p "$subpkgdir"/usr/share/icons mv "$pkgdir"/usr/share/icons/Simp1e-solarized "$subpkgdir"/usr/share/icons/"$pkgname"-solarized } sha512sums=" c653cd9f71c227470fc9626d8747d167dbac8ae1a83c136fea6eda83d4d39e0f6abcb4ec71a8e6381a1f8cacdf939a9be12976554e5e87c580e2038db5d38a31 simp1e-cursors-6a9e969b0239a58fc96af787c4986c273eb6d0eb.tar.gz 0a2a3fdad5aea3401c3ffd26c3e8a21e6adb59bb21e7aef25296a719ee0d8cf4fe92ea7f6df4d46c59227f1c9f43abf3519a4031080792bfd8742e3e16b89033 buildscript-41878bf3d8efb3161d63bb2435b3aa2bdb7f7888.tar.gz 07cc287c47174afc3e427a4f5daaccd4c9021743fc17904b75751b510554b553f8442f77f5d243f75206ca96c0b0f341e6ed1343cadeee6e6a2f16ce3cd2a887 py3.patch "