summaryrefslogtreecommitdiff
path: root/community/mp3gain/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/mp3gain/PKGBUILD')
-rw-r--r--community/mp3gain/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/mp3gain/PKGBUILD b/community/mp3gain/PKGBUILD
new file mode 100644
index 000000000..88ba47c5a
--- /dev/null
+++ b/community/mp3gain/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 27735 2010-09-27 10:44: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=1
+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
+}