void-packages/srcpkgs/xcursor-vanilla-dmz/template

31 lines
910 B
Bash

# Template file for 'xcursor-vanilla-dmz'
pkgname=xcursor-vanilla-dmz
version=0.4.5
revision=2
hostmakedepends="xcursorgen"
short_desc="Vanilla DMZ cursor theme"
maintainer="Orphaned <orphan@voidlinux.org>"
license="CC-BY-SA-3.0"
homepage="https://salsa.debian.org/gnome-team/dmz-cursor-theme"
distfiles="${DEBIAN_SITE}/main/d/dmz-cursor-theme/dmz-cursor-theme_${version}.tar.xz"
checksum=b719a64ed9c51905743105e5a50b15492695929ab2d6fca2cea760d52ccd1f5c
do_build() {
cd DMZ-White/pngs
./make.sh
}
do_install() {
vinstall DMZ-White/index.theme 644 usr/share/icons/Vanilla-DMZ
vcopy DMZ-White/xcursors usr/share/icons/Vanilla-DMZ/cursors
}
xcursor-vanilla-dmz-aa_package() {
short_desc="${short_desc/White/Black}"
pkg_install() {
(cd DMZ-Black/pngs ; ./make.sh)
vinstall DMZ-Black/index.theme 644 usr/share/icons/Vanilla-DMZ-AA
vcopy DMZ-Black/xcursors usr/share/icons/Vanilla-DMZ-AA/cursors
}
}