summaryrefslogtreecommitdiff
path: root/extra/xorg-font-util/PKGBUILD
blob: 09ec5570f0ad159789ace64227b1f1cca8242a1c (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
# $Id: $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xorg-font-util
pkgver=1.2.0
pkgrel=1
pkgdesc="X.Org font utilities"
arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
makedepends=('xorg-util-macros')
replaces=('font-util')
provides=('font-util')
conflicts=('font-util')
groups=('xorg-fonts' 'xorg')
source=(${url}/releases/individual/font/font-util-${pkgver}.tar.bz2)
sha1sums=('011fa9c8fe08d9f6f848df570374ed1cb7488146')

build() {
  cd "${srcdir}/font-util-${pkgver}"
  ./configure --prefix=/usr --mandir=/usr/share/man \
      --with-mapdir=/usr/share/fonts/util --with-fontrootdir=/usr/share/fonts
  make
  make DESTDIR="${pkgdir}" install
  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}