pkgname: utf8cpp pkgver: '4.2.1' pkgrel: 1 pkgdesc: UTF-8 with C++ in a Portable Way url: 'https://github.com/nemtrif/utfcpp' arch: any license: - BSL-1.0 depends: [] makedepends: - cmake source: - "https://github.com/nemtrif/utfcpp/archive/v${pkgver}/utfcpp-${pkgver}.tar.gz" sha256sums: - 6d6a5493a111884cc085ee31babfe6d9960c8fb08fc80a64852eaeea8323dbc1 build: | # Wchodzimy bezpośrednio do aliasu przygotowanego przez pagbuild cd ${pkgname}-${pkgver} cmake -S . -B build \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DUTF8_TESTS=OFF cmake --build build DESTDIR="${PKGDIR}" cmake --install build install -Dm644 LICENSE "${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE" package: | true