summaryrefslogtreecommitdiff
path: root/extra/rtmpdump/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/rtmpdump/PKGBUILD')
-rw-r--r--extra/rtmpdump/PKGBUILD18
1 files changed, 8 insertions, 10 deletions
diff --git a/extra/rtmpdump/PKGBUILD b/extra/rtmpdump/PKGBUILD
index b1e933a21..274020c5c 100644
--- a/extra/rtmpdump/PKGBUILD
+++ b/extra/rtmpdump/PKGBUILD
@@ -1,27 +1,25 @@
-# $Id: PKGBUILD 134127 2011-08-02 03:47:07Z eric $
+# $Id: PKGBUILD 172942 2012-12-07 18:25:31Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: xduugu
# Contributor: Elis Hughes <elishughes@googlemail.com>
pkgname=rtmpdump
-pkgver=2.4
+pkgver=20121203
pkgrel=1
pkgdesc="A tool to download rtmp streams"
arch=('i686' 'x86_64')
url="http://rtmpdump.mplayerhq.hu/"
license=('GPL2' 'LGPL2.1')
depends=('openssl')
-#source=(http://rtmpdump.mplayerhq.hu/download/${pkgname}-${pkgver}.tgz)
-source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.xz)
-sha256sums=('2c3b76d46d56180176ef099b8ad50a1608bef1dac35d8cb0b21ceac31b5c0656')
+options=(!makeflags)
+#git://git.ffmpeg.org/rtmpdump
+source=(ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.xz)
+sha256sums=('e5d9f7411bddd5a12be677f2a285c38100313db2b3b1f8d2a709d46e03741409')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make
+ make -C "$pkgname-$pkgver"
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- install -d -m755 "${pkgdir}/usr/lib"
- make prefix=/usr mandir=/usr/share/man DESTDIR="${pkgdir}" install
+ make -C "$pkgname-$pkgver" prefix=/usr mandir=/usr/share/man DESTDIR="$pkgdir" install
}