void-packages/srcpkgs/encodings/template

24 lines
680 B
Bash

# Template file for 'encodings'
pkgname=encodings
version=1.0.6
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=77e301de661f35a622b18f60b555a7e7d8c4d5f43ed41410e830d5ac9084fc26
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
}