### this file is sourced not run
PKGVER=1.3.11
PKGBUILD=1
PKGARCH=i686

# source: post BLFS 8.2 2018-06-01
TARBALL=graphite2-$PKGVER.tgz
MD5SUM=9b6166dee759e2175fe7983f65bd8be2
SRC_URL=https://github.com/silnrsi/graphite/releases/download/$PKGVER/$TARBALL
BUNDLE=

SLACKREQ=
SLACKDESC="libgraphite2_32: libgraphite2_32 $PKGVER (Font rendering engine)
libgraphite2_32: 
libgraphite2_32: Graphite2 is a rendering engine for graphite fonts. These are 
libgraphite2_32: TrueType fonts with additional tables containing smart rendering 
libgraphite2_32: information and were originally developed to support complex 
libgraphite2_32: non-Roman writing systems. They may contain rules for e.g. ligatures, 
libgraphite2_32: glyph substitution, kerning, justification - this can make them 
libgraphite2_32: useful even on text written in Roman writing systems such as English.
libgraphite2_32: 
libgraphite2_32: This contains 32-bit version of the library.
libgraphite2_32: 
"

### default pkg_download
### default pkg_prepare
### package
pkg_package() {
	rm -rf ./usr/bin ./usr/include ./usr/share
}

### build
pkg_build() {
	cd /tmp/graphite2* &&
	sed -i '/cmptest/d' tests/CMakeLists.txt &&
	pkg_build_cmake &&
	pkg_build_slackdesc
}


