blob: 4a0018ba8c6f238ba2a456997608d4c20ff05321 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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.1
pkgdesc="A tool for adjusting the volume of WAV files to a standard level"
arch=('i686' 'x86_64' 'mips64el')
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
}
|