summaryrefslogtreecommitdiff
path: root/extra/harfbuzz/PKGBUILD
blob: 46fad3772c3acc0b8705773bc4a035d43094330d (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
# $Id: PKGBUILD 172099 2012-11-28 10:31:24Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=harfbuzz
pkgver=0.9.7
pkgrel=1
pkgdesc="OpenType text shaping engine."
arch=('i686' 'x86_64' 'mips64el')
url="http://www.freedesktop.org/wiki/Software/HarfBuzz"
license=('MIT')
depends=('icu' 'glib2' 'freetype2' 'graphite')
makedepends=('icu' 'cairo' 'glib2' 'freetype2')
optdepends=('cairo: hb-view program')
options=(!libtool)
source=(http://www.freedesktop.org/software/harfbuzz/release/${pkgname}-${pkgver}.tar.bz2)
sha256sums=('bd2999859f8828461fedae23e4af52d926ac32a73245f03ae2d2065205e9cf25')

build() {
  cd ${pkgname}-${pkgver}

  ./configure --prefix=/usr
  make
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install
  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/harfbuzz/COPYING"
}