🔒 Repository is read-only – file editing is disabled.
1234567891011121314151617181920212223242526272829303132333435
pkgname: utf8cpp
pkgver: '4.2.0'
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:
- 54a8e96ea835a7359e8e53d03e30e9833d51350cc4615ff53f8449ef19ee46ab
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