summaryrefslogtreecommitdiff
path: root/extra/streamripper
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-10 23:14:36 +0000
committerroot <root@rshg054.dnsready.net>2011-09-10 23:14:36 +0000
commit1dc1efa50ce9926a6ed832bda2ebe3319485ac09 (patch)
tree25b059dc89bbd5f44377c1df6f612cf6556a6076 /extra/streamripper
parent42db4a0cf3a829fcd1bc2150669c6aa3c2984815 (diff)
Sat Sep 10 23:14:36 UTC 2011
Diffstat (limited to 'extra/streamripper')
-rw-r--r--extra/streamripper/PKGBUILD23
1 files changed, 13 insertions, 10 deletions
diff --git a/extra/streamripper/PKGBUILD b/extra/streamripper/PKGBUILD
index 009f2eb27..8cceccb06 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')
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
}