pkgname: woff2 pkgver: '1.0.2' pkgrel: '5' pkgdesc: 'Web Open Font Format 2 reference implementation' url: 'https://github.com/google/woff2' arch: x86_64 depends: [] makedepends: - brotli - git - cmake - ninja source: [] sha256sums: [] build: | git clone https://github.com/google/woff2.git woff2 cd ${pkgname} sed -i '/output.h/i #include ' src/woff2_out.cc sed -i 's/NOT BUILD_SHARED_LIBS/TRUE/' CMakeLists.txt cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib \ -DCMAKE_POLICY_VERSION_MINIMUM=3.5 . ninja DESTDIR=${PKGDIR} ninja install package: | true