2024-10-18 10:35:16 +02:00

30 lines
876 B
Bash

# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Antonio Rojas <arojas@archlinux.org>
# Contributor: BoosterDEV <booster DOT devel AT gmail DOT com>
pkgname=libebur128
pkgver=1.2.6
pkgrel=2.1
pkgdesc='A library that implements the EBU R 128 standard for loudness normalisation'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url='https://github.com/jiixyj/libebur128'
license=(MIT)
depends=(glibc)
makedepends=(cmake
git)
source=(git+https://github.com/jiixyj/libebur128#tag=v$pkgver)
sha256sums=('ee74f29f3f4d339f71de831af341b36d2cf24d0129e5bec0512b145d66da3daf')
build() {
cmake -B build -S $pkgname \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_STATIC_LIBS=OFF
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
install -Dm644 $pkgname/COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}