upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / libaec / trunk / PKGBUILD
blob8f436e970add3bfa7b939dcac4a8fe6a43a23611
1 # Maintainer: Bruno Pagani <archange@archlinux.org>
3 pkgname=libaec
4 pkgver=1.0.6
5 pkgrel=1
6 pkgdesc="Adaptive Entropy Coding library"
7 arch=(x86_64)
8 url="https://gitlab.dkrz.de/k202009/libaec"
9 license=(custom)
10 depends=(glibc)
11 makedepends=(cmake)
12 source=(${url}/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.bz2)
13 sha256sums=('31fb65b31e835e1a0f3b682d64920957b6e4407ee5bbf42ca49549438795a288')
15 build() {
16   cmake -B build -S ${pkgname}-v${pkgver} \
17     -DCMAKE_INSTALL_PREFIX=/usr \
18     -DCMAKE_INSTALL_LIBDIR=lib \
19     -DCMAKE_BUILD_TYPE=Release
20   make -C build
23 package() {
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