void-packages/srcpkgs/encodings/template
2020-11-29 18:32:27 +07:00

22 lines
665 B
Bash

# Template file for 'encodings'
pkgname=encodings
version=1.0.5
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config font-util"
depends="font-util"
short_desc="X11 Font Index Generator"
maintainer="Orphaned <orphan@voidlinux.org>"
license="custom:Public domain"
homepage="http://xorg.freedesktop.org"
distfiles="${XORG_SITE}/font/$pkgname-$version.tar.bz2"
checksum=bd96e16143a044b19e87f217cf6a3763a70c561d1076aad6f6d862ec41774a31
pre_build() {
sed -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
}