summaryrefslogtreecommitdiff
path: root/repo/font/font-bh-ttf.xibuild
blob: 2ba3a3316dd577bf21c521aed75150949d4196e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

MAKEDEPS=(make asciidoc xmlto lynx)
DEPS=(fontconfig libxcb elogind)

PKG_VER=1.0.3
SOURCE=https://www.x.org/pub/individual/font/font-bh-ttf-$PKG_VER.tar.bz2

build () {
    ./configure $XORG_CONFIG
  make
}

package () {
    make DESTDIR=$PKG_DEST install

install -v -d -m755 $PKG_DEST/usr/share/fonts                               &&
ln -svfn $XORG_PREFIX/share/fonts/X11/OTF $PKG_DEST/usr/share/fonts/X11-OTF &&
ln -svfn $XORG_PREFIX/share/fonts/X11/TTF $PKG_DEST/usr/share/fonts/X11-TTF
}