[arch-commits] CVS update of extra/multimedia/sox (PKGBUILD)

Dale Blount dale at archlinux.org
Mon Jan 14 21:10:36 UTC 2008


    Date: Monday, January 14, 2008 @ 16:10:36
  Author: dale
    Path: /home/cvs-extra/extra/multimedia/sox

Modified: PKGBUILD (1.14 -> 1.15)

upgpkg: sox 14.0.0-1


----------+
 PKGBUILD |   23 +++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)


Index: extra/multimedia/sox/PKGBUILD
diff -u extra/multimedia/sox/PKGBUILD:1.14 extra/multimedia/sox/PKGBUILD:1.15
--- extra/multimedia/sox/PKGBUILD:1.14	Tue Aug 21 15:43:05 2007
+++ extra/multimedia/sox/PKGBUILD	Mon Jan 14 16:10:36 2008
@@ -1,29 +1,32 @@
-# $Id: PKGBUILD,v 1.14 2007/08/21 19:43:05 tpowa Exp $
+# $Id: PKGBUILD,v 1.15 2008/01/14 21:10:36 dale Exp $
 # Maintainer: dale <dale at archlinux.org>
 # Contributor: Tom Newsom <Jeepster at gmx.co.uk>
 pkgname=sox
-pkgver=13.0.0
-pkgrel=2
+pkgver=14.0.0
+pkgrel=1
 pkgdesc="The Swiss Army knife of sound processing tools"
 arch=(i686 x86_64)
 license=('GPL')
 depends=('libvorbis' 'lame' 'libmad' 'bash' 'alsa-lib' 'libsndfile' 'libsamplerate')
 url="http://sox.sourceforge.net/"
-source=(http://easynews.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('0243d62895caee558b5294d5b78cfbcb')
+source=(http://easynews.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz amr.h)
+md5sums=('c0c242fb2760cea9dc30de884eb1facc'
+         '85271d1c2bab23980adf9e71084f4d1b')
 options=(!libtool)
 
 build() {
 	cd $startdir/src/$pkgname-$pkgver
 	./configure --prefix=/usr --sysconfdir=/etc
+	# fix for missing amr.h in 14.0.0 tarball
+	cp $startdir/src/amr.h $startdir/src/$pkgname-$pkgver/src || return 1
 	make || return 1
 	make prefix=$startdir/pkg/usr install
 	cd $startdir/pkg/usr/bin
 	rm -f rec
 	ln -sf play rec
-	cd $startdir/pkg/usr/man/man1
-	rm -f rec.1 soxmix.1
-	ln -s play.1 rec.1
-	ln -s sox.1 soxmix.1
+	cd $startdir/pkg/usr/share/man/man1
+	# looks like man pages are OK by themselves now.
+	# rm -f rec.1 soxmix.1
+	# ln -s play.1 rec.1
+	# ln -s sox.1.gz soxmix.1
 }
-




More information about the arch-commits mailing list