#Maintainer: Thorsten Muehlfelder pkgname=aacgain pkgver=1.8 pkgrel=1tm arch=x86_64 source=("http://altosdesign.com/aacgain/alvarez/aacgain-$pkgver.tar.bz2") url="http://altosdesign.com/aacgain/" slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (adds ReplayGain info to AAC files)" "AACGain is a modification to Glen Sawyer's excellent mp3gain program." "It supports AAC (mp4/m4a/QuickTime) audio files in addtion to mp3" "files. If you are not familiar with mp3gain, stop reading this, and go" "to http://mp3gain.sourceforge.net." "" "AACGain normalizes the volume of digital music files using the Replay" "Gain algorithm. It works by modifying the global_gain fields in the" "mp4 samples. Free-form metadata tags are added to the file to save" "undo information, making the normalization process reversable." ) build() { cd $startdir/src/${pkgname}-${pkgver} ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-static make -j3 || return 1 make DESTDIR=$startdir/pkg/ install || return 1 # some docs mkdir -p $startdir/pkg/usr/doc/$pkgname-pkgver/ cp README* $startdir/pkg/usr/doc/$pkgname-pkgver/ || return 1 cp aacgain/COPYING $startdir/pkg/usr/doc/$pkgname-pkgver/COPYING.aacgain || return 1 cp aacgain/README $startdir/pkg/usr/doc/$pkgname-pkgver/README.aacgain || return 1 }