#Maintainer: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=vorbisgain
pkgver=0.36
pkgrel=1rl
source=("http://sjeng.org/ftp/vorbis/vorbisgain-$pkgver.zip")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://www.sjeng.org/vorbisgain.html

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"vorbisgain (ReplayGain calculator for Ogg Vorbis files)"
"VorbisGain is a utility that uses a psychoacoustic method to correct"
"the volume of an Ogg Vorbis file to a predefined standardized"
"loudness. Unlike normalization, it's a lossless procedure which works"
"by adding tags to the file. It is based upon the ReplayGain"
"technology."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc
	make || return 1
	make install DESTDIR=$startdir/pkg
}