diff options
Diffstat (limited to 'extra/streamripper/PKGBUILD')
-rw-r--r-- | extra/streamripper/PKGBUILD | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/extra/streamripper/PKGBUILD b/extra/streamripper/PKGBUILD index 9b5a60b18..52144364a 100644 --- a/extra/streamripper/PKGBUILD +++ b/extra/streamripper/PKGBUILD @@ -1,23 +1,26 @@ -# $Id: PKGBUILD 51858 2009-09-12 21:44:06Z eric $ -# Contributor: damir <damir@archlinux.org> -# Maintainer: Thayer Williams <thayer@archlinux.org> +# $Id: PKGBUILD 137607 2011-09-10 03:20:46Z eric $ +# Maintainer: Eric BĂ©langer <eric@archlinux.org> pkgname=streamripper pkgver=1.64.6 -pkgrel=1 +pkgrel=2 pkgdesc="Records and splits streaming mp3 into tracks" arch=('i686' 'x86_64' 'mips64el') url="http://streamripper.sourceforge.net" license=('GPL') -depends=('glibc' 'glib2' 'libmad' 'faad2>=2.7' 'libvorbis') +depends=('glib2' 'libmad' 'faad2' 'libvorbis') options=('!libtool') -source=(http://downloads.sourceforge.net/sourceforge/streamripper/streamripper-$pkgver.tar.gz) +source=(http://downloads.sourceforge.net/sourceforge/streamripper/streamripper-${pkgver}.tar.gz) md5sums=('a37a1a8b8f9228522196a122a1c2dd32') sha1sums=('bc8a8d3ad045e0772ca691d2063c39efcc0dca45') build() { - cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr || return 1 - make || return 1 - make DESTDIR="$pkgdir" install || return 1 + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="$pkgdir" install } |