You are not logged in.

#1 2004-08-30 20:34:04

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

xserver-pl-fonts pkgbuild. iso8859-2 pcf and bdf fonts for X

These are bitmap x-server fonts (aka biznet fonts). They include aliases for standard x-server fonts (though they do not replace them) so you should see special iso8859-2 characters without doing anything else.

xserver-pl-fonts PKGBUILD

pkgname=xserver-pl-fonts
pkgver=1.0
pkgrel=1
pkgdesc="ISO 8859-2 (Central European) bdf and pcf fonts for x-server"
url="http://www.biz.net.pl/iso/x-fonts/index.html"
depends=('x-server')
install=xserver-pl-fonts.install
source=('http://www.biz.net.pl/images/ISO8859-2-bdf.tar.gz' 
'http://www.biz.net.pl/images/ISO8859-2-pcf.tar.gz')
md5sums=('5dd69ab949d833944048b10a97f7a589' 
'9274f1730275c6d3ba30414a431ca59a')

build() {

    install -d -m755 
    $startdir/pkg/usr/X11R6/lib/X11/fonts/latin2/100dpi
    
    install -d -m755 
    $startdir/pkg/usr/X11R6/lib/X11/fonts/latin2/75dpi
    
    install -d -m755 
    $startdir/pkg/usr/X11R6/lib/X11/fonts/latin2/misc
    
    install -m644 $startdir/src/100dpi/* 
    $startdir/pkg/usr/X11R6/lib/X11/fonts/latin2/100dpi

    install -m644 $startdir/src/75dpi/* 
    $startdir/pkg/usr/X11R6/lib/X11/fonts/latin2/75dpi

    install -m644 $startdir/src/misc/* 
    $startdir/pkg/usr/X11R6/lib/X11/fonts/latin2/misc

}

xserver-pl-fonts.install

# arg 1:  the new package version
post_install() {

    echo "------------------------------------"
    echo "Add the following font paths to your"
    echo "/etc/X11/xorg.conf or /etc/X11/XF86Config"
    echo ""
    echo "/usr/X11R6/lib/X11/fonts/latin2/100dpi"
    echo "/usr/X11R6/lib/X11/fonts/latin2/75dpi"
    echo "/usr/X11R6/lib/X11/fonts/latin2/misc"
    echo ""

    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 "------------------------------------"
    echo "Make sure you have the following font paths in your"
    echo "/etc/X11/xorg.conf or /etc/X11/XF86Config"
    echo ""
    echo "/usr/X11R6/lib/X11/fonts/latin2/100dpi"
    echo "/usr/X11R6/lib/X11/fonts/latin2/75dpi"
    echo "/usr/X11R6/lib/X11/fonts/latin2/misc"
    echo ""

    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 "------------------------------------"
    echo "You can delete the following font paths from your"
    echo "/etc/X11/xorg.conf or /etc/X11/XF86Config"
    echo ""
    echo "/usr/X11R6/lib/X11/fonts/latin2/100dpi"
    echo "/usr/X11R6/lib/X11/fonts/latin2/75dpi"
    echo "/usr/X11R6/lib/X11/fonts/latin2/misc"
    echo ""
    
    echo "Rebuilding font cache..."
    /usr/bin/fc-cache
    echo "...done."

}

op=$1
shift
$op $*

Offline

#2 2004-09-01 01:40:16

tehdely
Member
Registered: 2004-02-20
Posts: 148
Website

Re: xserver-pl-fonts pkgbuild. iso8859-2 pcf and bdf fonts for X

Added to my TUR.  Thanks for another quality package, lanrat!


[Arch GNUstep Repository] [ PKGBUILDS ]
[code][gnustep]
Server = ftp://blkwidow.lerp.com/pub/mirror/arch/gnustep[/code]

Offline

Board footer

Powered by FluxBB