diff options
Diffstat (limited to 'community/toolame/PKGBUILD')
-rw-r--r-- | community/toolame/PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/community/toolame/PKGBUILD b/community/toolame/PKGBUILD new file mode 100644 index 000000000..48e2f25fc --- /dev/null +++ b/community/toolame/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 65411 2012-02-21 03:29:11Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Giovanni Scafora <giovanni@archlinux.org> +# Contributor: Victor Martinez Romanos <vmromanos@gmail.com> + +pkgname=toolame +pkgver=02l +pkgrel=9 +pkgdesc="An optimized mpeg 1/2 layer 2 audio encoder" +arch=('i686' 'x86_64') +url="http://sourceforge.net/projects/toolame" +license=('LGPL') +depends=('glibc') +source=(http://downloads.sourceforge.net/sourceforge/toolame/toolame-02l.tgz + toolame-02l.patch) +md5sums=('5946e2dd78fbb57e54386b3b5d873fee' + '7fe02630ce8f08bd279a4bce93e64128') + +build() { + cd $srcdir/$pkgname-$pkgver + patch -p0 < ../toolame-02l.patch + [ "$CARCH" = "x86_64" ] && sed -i "s|-march=i686|-march=x86-64|g" Makefile + make + install -D -m755 toolame $pkgdir/usr/bin/toolame +} |