void-packages/srcpkgs/xcursor-vanilla-dmz/template
cr6git 0ed65207e4 xcursor-vanilla-dmz: update to 0.4.5.
Closes: #11237 [via git-merge-pr]
2018-03-06 11:49:06 +01:00

29 lines
958 B
Bash

# Template file for 'xcursor-vanilla-dmz'
pkgname=xcursor-vanilla-dmz
version=0.4.5
revision=1
wrksrc="dmz-cursor-theme-${version}"
noarch=yes
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
}
}