void-packages/srcpkgs/encodings/template

23 lines
654 B
Bash
Raw Normal View History

# Template build file for 'encodings'.
pkgname=encodings
2011-02-19 11:46:27 +01:00
version=1.0.4
revision=5
noarch=yes
build_style=gnu-configure
2014-02-18 17:23:09 +01:00
hostmakedepends="pkg-config font-util"
depends="font-util"
short_desc="X11 Font Index Generator"
2013-03-31 09:38:29 +02:00
homepage="http://xorg.freedesktop.org"
license="Public domain"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="${XORG_SITE}/font/$pkgname-$version.tar.bz2"
2011-02-19 11:46:27 +01:00
checksum=ced6312988a45d23812c2ac708b4595f63fd7a49c4dcd9f66bdcd50d1057d539
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
}