1 # Maintainer: Bruno Pagani <archange@archlinux.org>
6 pkgdesc="UTF-8 with C++ in a Portable Way"
8 url="https://github.com/nemtrif/utfcpp"
11 source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
12 sha256sums=('3ba9b0dbbff08767bdffe8f03b10e596ca351228862722e4c9d4d126d2865250')
15 cmake -B build -S ${pkgname/8}-${pkgver} \
16 -DCMAKE_BUILD_TYPE=None \
17 -DCMAKE_INSTALL_PREFIX=/usr \
18 -DCMAKE_INSTALL_LIBDIR=lib \
24 make -C build DESTDIR="${pkgdir}" install
25 install -Dm644 ${pkgname/8}-${pkgver}/LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/