🔒 Repository is read-only – file editing is disabled.

recipes/utils/utf8cpp/PAGBUILD.yaml main

32 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829303132
pkgname: utf8cpp
pkgver: '4.2.0'
pkgrel: 1
pkgdesc: UTF-8 with C++ in a Portable Way
url: 'https://github.com/nemtrif/utfcpp'
arch: x86_64
license:
- Boost
depends: []
makedepends:
- cmake
source:
- 'https://github.com/nemtrif/utfcpp/archive/v${pkgver}/utfcpp-${pkgver}.tar.gz'
sha256sums:
- 54a8e96ea835a7359e8e53d03e30e9833d51350cc4615ff53f8449ef19ee46ab
build: |
  mv utfcpp-${pkgver} ${pkgname}-${pkgver}
  cd ${pkgname}-${pkgver}

  mkdir build
  cd    build

        cmake -DCMAKE_INSTALL_PREFIX=/usr \
              -DCMAKE_BUILD_TYPE=Release  \
              -DUTF8_TESTS=OFF            \
              ..
  make
  make DESTDIR=${PKGDIR} install

  install -Dm644 ../LICENSE ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE
package: |
  true