core/harfbuzz/PKGBUILD

37 lines
903 B
Bash
Raw Normal View History

# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
# contributor Jan de Groot <jgc@archlinux.org>
pkgname=harfbuzz
pkgver=0.9.26
pkgrel=1
pkgdesc="OpenType text shaping engine."
arch=('x86_64')
url="http://www.freedesktop.org/wiki/Software/HarfBuzz"
license=('MIT')
depends=('icu' 'glib2' 'freetype2' 'graphite')
makedepends=('icu' 'cairo')
optdepends=('cairo: hb-view program')
source=("http://www.freedesktop.org/software/harfbuzz/release/${pkgname}-${pkgver}.tar.bz2")
md5sums=('a2b6cbd437f22dd5dc93d377696c9204')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--with-glib \
--with-freetype \
--with-cairo \
--with-icu \
--with-graphite2
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/harfbuzz/COPYING"
}