1 # Maintainer: Bruno Pagani <archange@archlinux.org>
6 pkgdesc="Adaptive Entropy Coding library"
8 url="https://gitlab.dkrz.de/k202009/libaec"
12 source=(${url}/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.bz2)
13 sha256sums=('31fb65b31e835e1a0f3b682d64920957b6e4407ee5bbf42ca49549438795a288')
16 cmake -B build -S ${pkgname}-v${pkgver} \
17 -DCMAKE_INSTALL_PREFIX=/usr \
18 -DCMAKE_INSTALL_LIBDIR=lib \
19 -DCMAKE_BUILD_TYPE=Release
24 make -C build DESTDIR="${pkgdir}" install
25 install -Dm644 ${pkgname}-v${pkgver}/LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}/
26 mv "${pkgdir}"/usr/{,lib}/cmake