summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 75e032c4af357aa0e68ce9c3f0b1de4dccb2257b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Contributor: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=font-bh-ttf
pkgver=1.0.3
pkgrel=8
pkgdesc='X.org Luxi Truetype fonts'
url='https://xorg.freedesktop.org/releases/individual/font/'
license=('custom')
arch=('any')
makedepends=('xorg-util-macros')
source=("${url}${pkgname}-${pkgver}.tar.bz2")
sha256sums=('1b4bea63271b4db0726b5b52c97994c3313b6023510349226908090501abd25f')

build() {
  cd ${pkgname}-${pkgver}
  ./configure --prefix=/usr --sysconfdir=/etc \
    --with-fontdir=/usr/share/fonts/TTF \
    --with-fc-confdir=/usr/share/fontconfig \
    MKFONTSCALE=/bin/true MKFONTDIR=/bin/true
  make
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install \
    actualconfigdir=/usr/share/fontconfig/conf.default
  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}