pkgname=graphite2 pkgver=1.3.14 pkgrel=1 pkgdesc="reimplementation of the SIL Graphite text processing engine" arch=('x86_64') url="https://github.com/silnrsi/graphite" license=('LGPL-2.1-or-later OR MPL-2.0 OR GPL-2.0-or-later') depends=('gcc-libs' 'glibc') makedepends=('cmake') source=(https://github.com/silnrsi/graphite/releases/download/${pkgver}/${pkgname}-${pkgver}.tgz) sha256sums=(f99d1c13aa5fa296898a181dff9b82fb25f6cc0933dbaa7a475d8109bd54209d) build() { cd ${pkgname}-${pkgver} local cmake_args=( -B flarebird-build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DLIB_SUFFIX=64 -Wno-dev ) cmake ${cmake_args[@]} cmake --build flarebird-build } package() { cd ${pkgname}-${pkgver} DESTDIR=${pkgdir} cmake --install flarebird-build }