# Template file for 'xcursor-vanilla-dmz-aa'
pkgname=xcursor-vanilla-dmz-aa
version=0.4.4
revision=1
noarch=yes
build_style=fetch
hostmakedepends="xcursorgen"
short_desc="Vanilla DMZ AA 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-Black/pngs ; ./make.sh)

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