void-packages/srcpkgs/encodings/template

24 lines
680 B
Bash

# Template file for 'encodings'
pkgname=encodings
version=1.0.7
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=3a39a9f43b16521cdbd9f810090952af4f109b44fa7a865cd555f8febcea70a4
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
}