# Template file for 'encodings'
pkgname=encodings
version=1.1.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config font-util"
depends="font-util"
short_desc="Font encoding tables for libfontenc"
maintainer="Orphaned <orphan@voidlinux.org>"
license="custom:Public domain"
homepage="http://xorg.freedesktop.org"
distfiles="${XORG_SITE}/font/encodings-${version}.tar.xz"
checksum=9ff13c621756cfa12e95f32ba48a5b23839e8f577d0048beda66c67dab4de975

pre_build() {
	vsed -e 's|^\(encodings_DATA = $(DATA_FILES)\).*|\1|' -i Makefile
}

post_install() {
	# encodings.dir are generated at pkg post-install time.
	find ${DESTDIR} -name encodings.dir -delete
	vlicense COPYING
}
