🔒 Repository is read-only – file editing is disabled.
1234567891011121314151617181920212223242526272829
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 <cstdint>' 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