[arch-commits] Commit in sox/trunk (PKGBUILD)
Eric Bélanger
eric at archlinux.org
Sun Sep 13 02:33:57 UTC 2009
Date: Saturday, September 12, 2009 @ 22:33:57
Author: eric
Revision: 51876
upgpkg: sox 14.3.0-1
Upstream update, Corrected license, Fixed man page symlink
Modified:
sox/trunk/PKGBUILD
----------+
PKGBUILD | 28 +++++++++++++---------------
1 file changed, 13 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-09-13 02:09:55 UTC (rev 51875)
+++ PKGBUILD 2009-09-13 02:33:57 UTC (rev 51876)
@@ -4,25 +4,23 @@
# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
pkgname=sox
-pkgver=14.2.0
-pkgrel=3
+pkgver=14.3.0
+pkgrel=1
pkgdesc="The Swiss Army knife of sound processing tools"
arch=('i686' 'x86_64')
url="http://sox.sourceforge.net/"
-license=('GPL')
+license=('GPL' 'LGPL')
depends=('ffmpeg>=0.5' 'libao' 'libvorbis' 'lame' 'libmad' 'bash' 'alsa-lib' 'libsndfile' 'libsamplerate' 'libtool' 'file')
-options=(!libtool)
-source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('7afc0e85d14be014f08e7d3b7ee8c24e')
+options=('!libtool')
+source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+md5sums=('8e3509804e6227273ef84092e1a2fea7')
+sha1sums=('34b8e991ba8511fa9683e9e9d356fb7f4179d03c')
build() {
- cd $srcdir/$pkgname-$pkgver
-
- ./configure --prefix=/usr --sysconfdir=/etc
-
- make || return 1
- make DESTDIR=$pkgdir install || return 1
- cd $pkgdir/usr/bin
- rm -f rec
- ln -sf play rec
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --sysconfdir=/etc --with-dyn-default --with-distro="Arch Linux" || return 1
+ make || return 1
+ make DESTDIR="${pkgdir}" install || return 1
+ ln -sf play "${pkgdir}/usr/bin/rec" || return 1
+ ln -sf ../man1/sox.1.gz "${pkgdir}/usr/share/man/man7/soxeffect.7"
}
More information about the arch-commits
mailing list