You are not logged in.

#1 2004-08-16 20:23:59

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

ttf-hunky-fonts pkgbuild: bitstream vera with non Eng chars

Saw it, built it, posting it :-)

I admit it - not all characters are perfect. But this is the first version and author promised to repair it soon. Still, if you want to have Bitstream Vera TTF fonts (originally lacking nonEn chars) with additional characters ("Baltic, Central European, South European and other languages, including Maori, Welsh and Esperanto") you can try it. It can co-exist with other ttf fonts (including original Bitstream Vera). Font names are Hunky Serif and Hunky Sans.

ttf-hunky-fonts PKGBUILD

pkgname=ttf-hunky-fonts
pkgver=0.1.0
pkgrel=1
pkgdesc="Bitstream Vera based TTF fonts with non-English characters"
url="http://www.yoper.com/ariszlo/hunky.html"
depends=('x-server')
install=ttf-hunky-fonts.install
source=(http://www.yoper.com/ariszlo/packages/SOURCES/hunkyfonts-$pkgver.tar.gz)
md5sums=('082b8220b2112830f7e418451a2c2f78')

build() {
  install -d -m755 $startdir/pkg/usr/X11R6/lib/X11/fonts/TTF
  install -m644 $startdir/src/hunkyfonts-$pkgver/TTF/*.ttf 
        $startdir/pkg/usr/X11R6/lib/X11/fonts/TTF
}

ttf-hunky-fonts.install

# arg 1:  the new package version
post_install() {
  echo "Rebuilding font cache..."
  /usr/bin/fc-cache
  echo "...done."
}

# arg 1:  the new package version
# arg 2:  the old package version
post_upgrade() {
  echo "Rebuilding font cache..."
  /usr/bin/fc-cache
  echo "...done."
}

# arg 1:  the old package version
pre_remove() {
  /bin/true
}

# arg 1:  the old package version
post_remove() {
  echo "Rebuilding font cache..."
  /usr/bin/fc-cache
  echo "...done."
}

op=$1
shift

$op $*

Offline

Board footer

Powered by FluxBB