summaryrefslogtreecommitdiff
path: root/community/normalize/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-01-06 01:08:04 -0800
committerroot <root@rshg054.dnsready.net>2013-01-06 01:08:04 -0800
commite0e1ffb6dccdc48c2448cfd79dac3ccbbed96c75 (patch)
treefdc608fa0b41862bfce4aa0f5c62d50f23e88561 /community/normalize/PKGBUILD
parent2586a8c75ef351dbd1b31605644e101e92d2c280 (diff)
Sun Jan 6 01:07:49 PST 2013
Diffstat (limited to 'community/normalize/PKGBUILD')
-rw-r--r--community/normalize/PKGBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/community/normalize/PKGBUILD b/community/normalize/PKGBUILD
new file mode 100644
index 000000000..62f0a5766
--- /dev/null
+++ b/community/normalize/PKGBUILD
@@ -0,0 +1,44 @@
+# $Id: PKGBUILD 81986 2013-01-05 08:50:13Z giovanni $
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+
+pkgname=normalize
+pkgver=0.7.7
+pkgrel=6
+pkgdesc="A tool for adjusting the volume of WAV files to a standard level"
+arch=('i686' 'x86_64')
+url="http://normalize.nongnu.org"
+license=('GPL')
+depends=('audiofile' 'libmad' 'vorbis-tools' 'lame' 'flac' 'mpg123')
+makedepends=('pkg-config' 'intltool')
+source=("http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+ 'normalize-0.7.7-audiofile-pkgconfig.patch'
+ 'normalize-0.7.7-m4.patch')
+md5sums=('1749b16fc7a08aa5d0cf9f76eeaa8436'
+ '77d565e29bef11837e80347adfd42b58'
+ '0b4bca7bf183275b9f939576ebad4233')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ patch -Np1 -i "${srcdir}/normalize-0.7.7-audiofile-pkgconfig.patch"
+ patch -Np0 -i "${srcdir}/normalize-0.7.7-m4.patch"
+
+ touch AUTHORS NEWS ChangeLog
+ libtoolize --force --copy
+ aclocal -I m4
+ autoreconf
+ automake --add-missing
+
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --with-audiofile \
+ --with-mad
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+}