33 lines
907 B
Text
33 lines
907 B
Text
# Template build file for 'encodings'.
|
|
pkgname=encodings
|
|
version=1.0.4
|
|
revision=3
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config font-utils"
|
|
short_desc="X11 Font Index Generator"
|
|
homepage="http://xorg.freedesktop.org"
|
|
license="Public domain"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
distfiles="${XORG_SITE}/font/$pkgname-$version.tar.bz2"
|
|
checksum=ced6312988a45d23812c2ac708b4595f63fd7a49c4dcd9f66bdcd50d1057d539
|
|
long_desc="
|
|
The package provides the X.org font encoding files, such as
|
|
adobe-dingbats.enc.gz, ibm-cp866.enc, jisx0212.1990-0.enc.gz,
|
|
and others. This is from the modular X.org project."
|
|
|
|
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
|
|
}
|
|
|
|
encodings_package() {
|
|
depends="font-util"
|
|
noarch="yes"
|
|
pkg_install() {
|
|
vmove usr
|
|
}
|
|
}
|