[arch-commits] Commit in libebur128/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Wed Feb 3 07:13:50 UTC 2021
Date: Wednesday, February 3, 2021 @ 07:13:50
Author: arojas
Revision: 407121
Update to 1.2.5
Modified:
libebur128/trunk/PKGBUILD
----------+
PKGBUILD | 20 +++++++-------------
1 file changed, 7 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-02-03 06:53:06 UTC (rev 407120)
+++ PKGBUILD 2021-02-03 07:13:50 UTC (rev 407121)
@@ -2,8 +2,8 @@
# Contributor: BoosterDEV <booster DOT devel AT gmail DOT com>
pkgname=libebur128
-pkgver=1.2.4
-pkgrel=3
+pkgver=1.2.5
+pkgrel=1
pkgdesc="A library that implements the EBU R 128 standard for loudness normalisation."
arch=(x86_64)
url="https://github.com/jiixyj/libebur128"
@@ -11,23 +11,17 @@
depends=(glibc)
makedepends=(cmake)
source=($pkgname-$pkgver.tar.gz::"https://github.com/jiixyj/$pkgname/archive/v$pkgver.tar.gz")
-sha256sums=('2ee41a3a5ae3891601ae975d5ec2642b997d276ef647cf5c5b363b6127f7add8')
+sha256sums=('165ea2ed15660dc334acf306169fe9d5ccd2b1371afefc5b80fc958c78045c8b')
-prepare() {
- mkdir -p build
-}
-
build() {
- cd build
- cmake ../$pkgname-$pkgver \
+ cmake -B build -S $pkgname-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_STATIC_LIBS=OFF
- make
+ cmake --build build
}
package() {
- cd build
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" cmake --install build
- install -Dm644 "$srcdir"/$pkgname-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ install -Dm644 $pkgname-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
More information about the arch-commits
mailing list