2008-10-06 23:00:38 +02:00
|
|
|
# Template build file for 'encodings'.
|
|
|
|
pkgname=encodings
|
2011-02-19 11:46:27 +01:00
|
|
|
version=1.0.4
|
2013-04-03 13:44:05 +02:00
|
|
|
revision=3
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2013-04-12 10:23:11 +02:00
|
|
|
hostmakedepends="pkg-config font-utils"
|
2008-10-06 23:00:38 +02:00
|
|
|
short_desc="X11 Font Index Generator"
|
2013-03-31 09:38:29 +02:00
|
|
|
homepage="http://xorg.freedesktop.org"
|
|
|
|
license="Public domain"
|
2008-10-06 23:00:38 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-04-03 13:44:05 +02:00
|
|
|
distfiles="${XORG_SITE}/font/$pkgname-$version.tar.bz2"
|
2011-02-19 11:46:27 +01:00
|
|
|
checksum=ced6312988a45d23812c2ac708b4595f63fd7a49c4dcd9f66bdcd50d1057d539
|
2008-10-06 23:00:38 +02:00
|
|
|
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."
|
2009-03-23 18:52:57 +01:00
|
|
|
|
2013-04-03 13:44:05 +02:00
|
|
|
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
|
|
|
|
}
|
2013-04-12 10:23:11 +02:00
|
|
|
|
|
|
|
encodings_package() {
|
|
|
|
depends="font-util"
|
|
|
|
noarch="yes"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|