archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libebur128 / trunk / PKGBUILD
blobeec51118b8e5a153fff6728ccfaa55e5fa68245f
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Contributor: BoosterDEV <booster DOT devel AT gmail DOT com>
4 pkgname=libebur128
5 pkgver=1.2.6
6 pkgrel=1
7 pkgdesc="A library that implements the EBU R 128 standard for loudness normalisation."
8 arch=(x86_64)
9 url="https://github.com/jiixyj/libebur128"
10 license=(MIT)
11 depends=(glibc)
12 makedepends=(cmake)
13 source=($pkgname-$pkgver.tar.gz::"https://github.com/jiixyj/$pkgname/archive/v$pkgver.tar.gz")
14 sha256sums=('baa7fc293a3d4651e244d8022ad03ab797ca3c2ad8442c43199afe8059faa613')
16 build() {
17   cmake -B build -S $pkgname-$pkgver \
18     -DCMAKE_INSTALL_PREFIX=/usr \
19     -DBUILD_STATIC_LIBS=OFF
20   cmake --build build
23 package() {
24   DESTDIR="$pkgdir" cmake --install build
26   install -Dm644 $pkgname-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE