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

# 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: libgraphite2 $PKGVER (Font rendering engine)
libgraphite2: 
libgraphite2: Graphite2 is a rendering engine for graphite fonts. These are 
libgraphite2: TrueType fonts with additional tables containing smart rendering 
libgraphite2: information and were originally developed to support complex 
libgraphite2: non-Roman writing systems. They may contain rules for e.g. ligatures, 
libgraphite2: glyph substitution, kerning, justification - this can make them 
libgraphite2: useful even on text written in Roman writing systems such as English.
libgraphite2: 
libgraphite2: 
libgraphite2: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	CMAKEFLAGS="$CMAKEFLAGS -DLIB_SUFFIX=64"
	cd /tmp/graphite2* &&
	sed -i '/cmptest/d' tests/CMakeLists.txt &&
	pkg_build_cmake &&
	pkg_build_slackdesc
}


