# Maintainer: pkgname=rsgain pkgver=3.3 pkgrel=1 pkgdesc="Simple, but powerful ReplayGain 2.0 tagging utility" url="https://github.com/complexlogic/rsgain" arch="all" license="BSD-2-Clause" makedepends=" cmake ffmpeg-dev fmt-dev inih-dev libebur128-dev samurai taglib-dev zlib-dev " source="https://github.com/complexlogic/rsgain/releases/download/v$pkgver/rsgain-$pkgver-source.tar.xz" # does not contain any tests options="!check" build() { CXXFLAGS="$CXXFLAGS -O2 -flto=auto" \ CFLAGS="$CFLAGS -O2 -flto=auto" \ cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 0647a8849a238d6690e62413ea8b24cbd39698b7307f39f799b1ef90045f02bad4aa20918f834a127a133e53045639395e7be2f2b367970090ffb942a36ef6e6 rsgain-3.3-source.tar.xz "