summaryrefslogtreecommitdiff
path: root/extra/xorg-xfd/PKGBUILD
blob: e2c94fef3648a7ad1e8f54df047026867366ba60 (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: PKGBUILD 150433 2012-02-17 16:53:03Z andyrtr $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xorg-xfd
pkgver=1.1.1
pkgrel=1
pkgdesc="Displays all the characters in a font using either the X11 core protocol or libXft2"
arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxaw' 'fontconfig' 'libxft' 'libxrender' 'libxmu')
makedepends=('xorg-util-macros')
source=(http://xorg.freedesktop.org/archive/individual/app/xfd-${pkgver}.tar.bz2)
sha256sums=('3fbef0d5ed6dc088017df156e748d187b2d1aaedc3de7ea96e505ea6d1af7b73')

build() {
  cd "${srcdir}/xfd-${pkgver}"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/xfd-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}