void-packages/templates/font-adobe-100dpi.tmpl
Juan RP 6ade2fe36a Some changes for better use of postinstall_helpers and run_stuff_*.
Introduce run_stuff_<state>_<stage>_cmd. These are used to run
a specific command before or after the specified stage.

Introduce two new helpers: fontconfig-update.sh and mkfontxx-rebuild.sh.
The first runs fc-cache once fontconfig is installed, the second
rebuilds the fonts.dir and fonts.scale files in a directory for
a template.

Allow run_stuff_* to execute a script with any path, not just
from PKGFS_TEMPLATESDIR.

That means that now if you install GTK+ and any fonts package,
gtk-demo will work without any additional stuff.

--HG--
extra : convert_revision : c8aa7eb8d1ab958f64808af0d4c1cce8760d012e
2008-10-06 16:57:36 +02:00

24 lines
760 B
Cheetah
Executable file

# Template build file for 'font-adobe-100dpi'.
pkgname=font-adobe-100dpi
version=1.0.0
extract_sufx=".tar.bz2"
url=http://xorg.freedesktop.org/releases/individual/font
build_style=gnu_configure
make_cmd="$PKGFS_MASTERDIR/bin/gmake"
short_desc="Standard 100dpi Adobe PCF fonts"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=34a3af933a71062f27d1b6b305a497e9e9f2606d
long_desc="
Theses are the PCF versions of the following Adobe fonts for 100dpi displays:
- Courier
- Helvetica
- New Century Schoolbook
- Symbol
- Times
This is from the modular Xorg project."
# Build fonts.dir and fonts.scale files after install.
fonts_dir="$PKGFS_MASTERDIR/lib/X11/fonts/100dpi"
postinstall_helpers="mkfontxx-rebuild.sh"
ignore_files="fonts.scale fonts.dir"