#Packager: George Vlahavas pkgname=loudgain pkgver=0.6.8 pkgrel=1gv source=("https://github.com/Moonbase59/loudgain/archive/refs/tags/v${pkgver}.tar.gz") docs=("readme.md" "install" "copying" "changelog" "authors" "news" "todo") url=https://github.com/Moonbase59/loudgain slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "loudgain (ReplayGain 2.0 loudness normalizer)" "loudgain is a loudness normalizer that scans music files and" "calculates loudness-normalized gain and loudness peak values according" "to the EBU R128 standard, and can optionally write" "ReplayGain-compatible metadata." ) build() { cd $startdir/src/$pkgname-$pkgver mkdir -p build cd build cmake \ -DCMAKE_C_FLAGS:STRING="$CFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ .. make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg cd .. }