PaganOS Luna 0.6.0
PL EN DE
🔒 Repository is read-only – file editing is disabled.

recipes/utils/woff2/PAGBUILD.yaml main

30 lines Raw ← Back
123456789101112131415161718192021222324252627282930
pkgname: woff2
pkgver: '1.0.2'
pkgrel: '6'
pkgdesc: 'Web Open Font Format 2 reference implementation'
url: 'https://github.com/google/woff2'
arch: x86_64
depends:
- brotli
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