summaryrefslogtreecommitdiffstats
path: root/abs/core/xorg-bdftopcf/PKGBUILD
blob: af1cc4e0c698435fb3b1bdcb451f891d781b09ff (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
# $Id: PKGBUILD 150979 2012-02-24 12:29:18Z allan $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xorg-bdftopcf
pkgver=1.0.3
pkgrel=2
pkgdesc="Convert X font from Bitmap Distribution Format to Portable Compiled Format"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxfont')
makedepends=('xorg-util-macros' 'xproto')
groups=('xorg' 'xorg-apps')
source=(http://xorg.freedesktop.org/archive/individual/app/bdftopcf-${pkgver}.tar.bz2)
sha1sums=('146b4ece2867479045c3b4593b22c9f1d21da14a')

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

package() {
  cd "${srcdir}/bdftopcf-${pkgver}"
  make DESTDIR="${pkgdir}" install

  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}