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

30 lines
960 B
Bash

# Template file for 'xcursor-vanilla-dmz'
pkgname=xcursor-vanilla-dmz
version=0.4.5
revision=1
wrksrc="dmz-cursor-theme-${version}"
archs=noarch
hostmakedepends="xcursorgen"
short_desc="Vanilla DMZ cursor theme (White)"
maintainer="Jerry Tegno <jerrytegno@gmail.com>"
license="CCPL:by-nc-sa"
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_install() {
(cd DMZ-White/pngs ; ./make.sh)
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
}
}