# Template file for 'envypn-font'
pkgname=envypn-font
version=1.5.3
revision=2
short_desc="Readable terminal font inspired by Envy Code R"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
homepage="http://tetedulinuxien.fr/"
license="GPL+FE"
distfiles="http://linuxien.legtux.org/projects/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=b4a17e23451dade251fb52d850d61dc4366131b3a50a26355068dea69d35b8f1
makedepends="font-util mkfontdir"

do_install() {
	vmkdir usr/share/fonts/envypn
	install -m644 *.pcf  ${DESTDIR}/usr/share/fonts/envypn
	vinstall fonts.alias 644 usr/share/fonts/envypn
	vinstall LICENSE 644 usr/share/licenses/envypn
	vinstall CHANGELOG 644 usr/share/doc/envypn
	vinstall README 644 usr/share/doc/envypn
}

envypn-font_package() {
	depends="${makedepends}"
	noarch="yes"
	font_dirs="/usr/share/fonts/envypn"
	pkg_install() {
		vmove usr
	}
}
