1 # Maintainer: Christian Neukirchen <chneukirchen@gmail.com>
5 pkgdesc="a condensed pixel font built on 6x13 ('fixed')"
7 url="https://github.com/chneukirchen/5x13"
8 license=('public domain')
9 depends=('xorg-mkfontdir' 'xorg-mkfontscale' 'fontconfig')
10 makedepends=('git' 'xorg-bdftopcf')
11 install=font-5x13.install
14 md5sums=() #generate with 'makepkg -g'
16 _gitroot="git://github.com/chneukirchen/5x13.git"
21 msg "Connecting to GIT server...."
23 if [ -d $_gitname ] ; then
24 cd $_gitname && git pull origin
25 msg "The local files are updated."
27 git clone $_gitroot $_gitname
30 rm -rf "$srcdir/$_gitname-build"
31 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
32 cd "$srcdir/$_gitname-build"
38 bdftopcf 5x13.bdf |gzip >5x13.pcf.gz
42 cd "$srcdir/$_gitname-build"
43 install -D -m644 5x13.pcf.gz $pkgdir/usr/share/fonts/misc/5x13.pcf.gz