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

MAKEDEPS="make mkfontscale"
DEPS="fontconfig libxcb xcursor-themes"

PKG_VER=1.0.4
SOURCE=https://www.x.org/pub/individual/font/font-xfree86-type1-$PKG_VER.tar.bz2

build () {
    ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static
  make
}

package () {
    make DESTDIR=$PKG_DEST install

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