# Template file for 'xcursor-vanilla-dmz'
pkgname=xcursor-vanilla-dmz
version=0.4.4
revision=1
noarch=yes
build_style=fetch
hostmakedepends="xcursorgen"
short_desc="Vanilla DMZ cursor theme"
maintainer="Jerry Tegno <jerrytegno@gmail.com>"
license="CCPL:by-nc-sa"
homepage="http://jimmac.musichall.cz/"
distfiles="${DEBIAN_SITE}/main/d/dmz-cursor-theme/dmz-cursor-theme_${version}.tar.gz"
checksum=46af4cf1356df799f9ee94451f05d0bdbb8d82e54bdeae3f32fa107602359981

do_install() {
	tar xzf dmz-cursor-theme_${version}.tar.gz
	cd dmz-cursor-theme-${version}
	(cd DMZ-White/pngs ; ./make.sh)

	vmkdir /usr/share/icons
	vmkdir /usr/share/icons/Vanilla-DMZ/cursors
	vcopy DMZ-White/xcursors/* /usr/share/icons/Vanilla-DMZ/cursors
	vinstall DMZ-White/index.theme 644 /usr/share/icons/Vanilla-DMZ/index.theme
}
