updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / lame-extras / PKGBUILD
bloba308e12a6a8e07a2724c592503f443e59d910537
1 # Maintainer: TDY <tdy@gmx.com>
3 pkgname=lame-extras
4 pkgver=3.98.4
5 pkgrel=1
6 pkgdesc="Supplementary wrappers for LAME (auenc, lameid3, mlame, and mugeco)"
7 arch=('any')
8 url="http://lame.sourceforge.net/"
9 license=('LGPL')
10 depends=('lame' 'perl-mp3-info')
11 provides=('mlame=3.98.2')
12 conflicts=('mlame')
13 install=$pkgname.install
14 source=(http://downloads.sourceforge.net/${pkgname/-*}/${pkgname/-*}-$pkgver.tar.gz)
15 md5sums=('8e9866ad6b570c6c95c8cba48060473f')
17 build() {
18   cd "$srcdir/${pkgname/-*}-$pkgver/misc"
19   sed -i '1 i\#!/usr/bin/env perl' lameid3.pl
20   sed -n '9,18 s,#[ ]*,,p' <lameid3.pl >lameid3.txt
21   install -Dm755 lameid3.pl "$pkgdir/usr/bin/lameid3"
22   install -Dm644 lameid3.txt "$pkgdir/usr/share/doc/lame-extras/README.lameid3"
23   install -Dm755 auenc "$pkgdir/usr/bin/auenc"
24   install -Dm755 mlame "$pkgdir/usr/bin/mlame"
25   install -Dm755 mugeco.sh "$pkgdir/usr/bin/mugeco"