summaryrefslogtreecommitdiff
path: root/community/mp3gain/PKGBUILD
blob: d3ec615a422510675bf383d32ea8aa669a118e95 (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
# $Id: PKGBUILD 66240 2012-02-23 05:13:54Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Alessio 'mOLOk' Bolognino <themolok@gmail.com>
# Contributor: keith <keith@hubbard.net>

pkgname=mp3gain
pkgver=1.5.2
pkgrel=2
pkgdesc="Lossless mp3 normalizer with statistical analysis "
arch=('i686' 'x86_64')
url="http://mp3gain.sourceforge.net"
license=("GPL")
depends=('glibc')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-${pkgver//./_}-src.zip
	build-fix.patch)
md5sums=('d888563538ec863eeea8afc8207b2739'
         '20680cbada13ba941b0532ff94e583e1')

build() {
    cd $srcdir

    mkdir -p $pkgdir/usr/bin
    patch -p0 Makefile <$srcdir/build-fix.patch

    make OSTYPE=linux
    make OSTYPE=linux INSTALL_PATH=$pkgdir/usr/bin install
}